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... Show More >>
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. Show Less >>
Having difficulty playing this video? Click here and let us know.
ShiaTV does not endorse any User Submission or any opinion, recommendation, or advice expressed therein, and ShiaTV expressly disclaims any and all liability in connection with User Submissions.
Comments
Add Comment