View Single Post
Old 2006-12-22, 01:28 AM   #2
NobleSavage
Lord help me, I'm just not that bright
 
Join Date: May 2006
Posts: 103
Send a message via ICQ to NobleSavage
Quote:
Originally Posted by Halfdeck View Post
Yikes.

Bed time for me, but I recommend using a HTTP header checker and a test directory before making a new .htaccess live.

This is what I use:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301]

(Yeah, www and non-www are backwards for you).
Thanks man - putting a "/" at the end of the RewriteRule fixed the problem.


And let me leave you with a question for when you wakeup tomorrow


Have you had any canonical issues with WP serving up pages in both forms:

domain.com/page/
and
domain.com/page

?

Not sure if If it's worth the trouble of trying to fix that...

Last edited by NobleSavage; 2006-12-22 at 02:07 AM..
NobleSavage is offline   Reply With Quote