Quote:
Originally Posted by Halfdeck
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...