CODES
NEW
ADD
SaveCode.net
Ranking
Extension
rewrite urls to force www
Home
/
Codes
/
apache
4
Rewrite URLs to force WWW
Copy
apache
.htaccess
redirect
Favourite
Share
By
Gwen Steuber
at May 15 2022
Related code examples
Force www with htaccess
Force WWW in url
Force removal of WWW in url
generic Rewrite
Redirect from www to NON www
Redirect from non www to www
Apache Rewrite Rules
.htaccess Redirect (301): Non-WWW to WWW
Common .htaccess Rewrite Rules
Cannonical URL rewrite rule
URL ohne WWW weiterleiten zu URL mit WWW
Remove www from URL
301 Permalink Redirect from address without www to same address with www
Force filetype download
htaccess force file download
force utf-8 charset
htaccess rewrite rule for multiple store views
.htaccess add/remove www to domain redirect
.htaccess redirect url without www prefix
Htaccess rewrite file for Letsencrypt and CakePHP app
force SSL in your site
Remove Trailing Slashes, Force Index
HAProxy URL Rewriting with query strings (ugly URLs)
apache config file remove www from url
.htaccess redirect www subdomain to second level domain
Rewrite Drupal's File system paths to remove redundant sites/example.com
Redirect all users to access the site WITHOUT the \'www.\' prefix
Redirect 301 para forzar el uso de www.
301 Rewrite domain.co.uk to www.domain.co.uk like the search engine friendly developer you are!
Force a file to download with a “Save As†prompt
Force gzip compression for all relevant file types.
Replace _ with - in almost every url (plus nice tag urls in movabletype)
Add http header to force IE8 to render in IE7 mode
xampp apache not starting
apache port forwarding virtual host
apache default document root
hdinsight apache storm word count
astop apache
invalid command sslengine apache
apache drill plugin
adding htaccess file apache
apache multiple hostnames
apache set x-frame-options
cors apache alpine
get top ip apache acces
how to disable big sur apache
Password protected folder
Apache Tomcat connect howto
Forced download of a file with .htaccess
Drupal on PCextreme
Weiterleitung per .htaccess
Set up a 301 redirect
Create a custom error page
Set the default page of each directory
Prevent directory browsing
htaccess by ip or pass
Paginas de error para Apache
Redirection temporaire pour mise à jour
Redirect Your Domain To A Subfolder Using .htaccess
Multiple Virtual Hosts on Mac
Apache: Redirect IP's other than X to [URL]
enable gzip compression for static files
mod_rewrite 301 for entire domain
Apache 2.2 performance tunning
Apache .htaccess example
number of apache connections
Maintenance Redirect
Website Maintenance Redirect
.htaccess 301 Redirect
mod_rewrite old URL to new URL
HAProxy URL Rewriting
redirect from a subdomain to the main domain
Apache Redirect from *.example.com to example.com
Restarting apache on a cron
HTTP proxy server for Iran
Zend Framework 1.8 htaccess
apache2 - enabling and disabling sites
block bad request
protect directories
super over simplified cache control and expire header htaccess
Redirect 404 error page to any page
.htaccess exclude directory from mod_rewrite
Faux Folders from Files
Forward domain.com - to - www.domain.com
Forward http: to https: for SSL
htaccess file sample
PREVENT HOTLINKING
Standard modifications to Drupal's default .htaccess
Drupal .htaccess for enabling clean url's
Plesk vhost.conf for symlinking httpdocs to another domain
Apache mod_expires for media-files
Apache - Password protect a Directory
Redirect to main domain
Quick apache stress test
IPTABLES - Webserver(Apache) to MySQL config
Simple Hotlinking in Apache
Interdire le hotlinking
Virtual host config for ZendFramework
Gzip your components
bluehost rails public/.htaccess for fastcgi
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1