It could be a dns issue or mod_rewrite issue. The problem is domain.com works, but www.domain.com doesn't work. Here's my .htaccess willing to pay of course. $15 who can help me. Either reply here or pm for more info. I could just try using domain.com, but need the www for cookies reasons. RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] RewriteCond %{HTTP_USER_AGENT} "AISearchBot" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "woriobot" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "heritrix" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "NetSeer" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "Nutch" [NC] RewriteRule ^(.*)$ - [F] RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap) RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php [L,QSA] Code (markup):
try this: <IfModule mod_rewrite.c> Rewritecond %{http_host} ^domain.com [nc] RewriteRule ^(.*)$ http://www.domain.com/$1 [r=301,nc] </IfModule>
I found some things that could help. If I remove: RewriteCond %{HTTP_HOST} ^domain\.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] Then domain.com works but www.domain.com still doesn't work. So I don't think it's that rule.