Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
HTML
FrontPage?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="WD10, post: 745322"] I am trying to set up a site so that the [URL]http://my_site.com[/URL] version of the domain redirects to the [URL]http://www.my_site.com[/URL] version. Normally, the following two lines in the .htaccess file work for me, but they aren't working in this case. I'm not sure what all those lines in the file below mean but I see word "FrontPage"... After I fix this I have 22 pages of FrontPage HTML to fix :( Any ideas why the first two lines aren't working? Thanks # Sends all requests to www version of domain name RewriteCond %{HTTP_HOST} ^my_site.com RewriteRule (.*) [URL]http://www.my_site.com/$1[/URL] [R=301,L] # Everything below this line is the original htaccess file # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName [URL="http://www.my_site.com"]www.my_site.com[/URL] AuthUserFile /home/my_folder/public_html/_vti_pvt/service.pwd AuthGroupFile /home/my_folder/public_html/_vti_pvt/service.grp [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
HTML
FrontPage?
Top