0

Hi

I was searching your form and came a cross a post that showed this code to set up 301 Redirect

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^tomorrownextweek\.com [NC]
RewriteRule ^(.*)$ http://www.tomorrownextweek.com/$1 [L,R=301]

Note I changed the web site to mine.

The problem I'm having is I'm getting a 500 error and it kills my web site when I load my .htaccess file

any ideas why

3
Contributors
2
Replies
3
Views
11 Years
Discussion Span
Last Post by jmcgrew
0

proc

Try removing this line...
Options +FollowSymLinks

Our Linux server has mod-rewrite turned on but it hates that line. Works great without it.

Julie

Hi

I was searching your form and came a cross a post that showed this code to set up 301 Redirect

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^tomorrownextweek\.com [NC]
RewriteRule ^(.*)$ http://www.tomorrownextweek.com/$1 [L,R=301]

Note I changed the web site to mine.

The problem I'm having is I'm getting a 500 error and it kills my web site when I load my .htaccess file

any ideas why

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.