At long last, we're moving to forums powered by, well, Movable Type itself. You'll want to bookmark http://forums.movabletype.org/ for future reference, and in the meantime you can view these old forums as a read-only archive of past posts. Thanks for being part of the community!
May 16 2008, 08:06 AM
Post
#1
|
|
|
Group: Members Posts: 24 Joined: 15-July 02 Member No.: 1,691 |
I'm trying to add the appropriate code to my .htaccess file so that I can have permanent redirects from the www.domain.com to just domain.com.
This is the code I'm using: CODE Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^www.domain\.com$ [NC] RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L] The problem is that I cannot figure out where to add it to the default .htaccess file that allows MT to use dynamic publishing. Every time I add this code, I get a 500 Server Error. Does it need to be rewritten? |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 11.25.09 - 04:50 AM |