Here is the code to copy and paste
# Make all requests have the www. in them
RewriteEngine on
RewriteCond %{HTTP_HOST} ^websitename\.com
RewriteRule ^(.*)$ http://www.websitename.com/$1 [R=permanent,L]
In this quick web development tip Adam Khoury of Flash Building discusses the apache method of forcing script connection in case the www is missing from a URL that requires it for script connection.
@McAbeeGraphics How did you get this to work? I'm having the same problem with 123-reg
00ashy 2 weeks ago
how can this be done with nginx
VinnyBenson 6 months ago in playlist web server tutorial
How do I do favicons?
AKSoapy29 10 months ago
@McAbeeGraphics actually, figured it out, had to add a 1and1 workaround for Options -MiltiViews and it works like a charm. Thanks for the rewrite!
McAbeeGraphics 1 year ago
This gave me a 500 Internal Server Error, any ideas? I copied and pasted, and also added the disallow code. Does my web host not allow me to use .htaccess?
McAbeeGraphics 1 year ago 2
@PersonalComputerHelp it was the Good Old days. Where we had the lounge.
Zackary210 1 year ago
the old forum ...
PersonalComputerHelp 2 years ago
Giving Thanks!
Blessed, bredren
peaceluvalwayz 2 years ago
Thanks, i tried it and i liked what i saw :-). Love your stuff man!!!!
carmonkeycasino 2 years ago
Awersome. Love your explanations. So clear.
DazMode 2 years ago