The problem is that I've set it up so if you go to http://www.mysite.com/ it redirects to http://mysite.com/. As I want all the domain occurrences in Google to be the same rather than split between the two. Which was easy in itself but I am using SEO urls which include /go/pagename and if you go to say www.mysite.com/go/pagename it redirects to http://mysite.com/pagename.php instead of http://mysite.com/go/pagename and wondering how to get this to work. Here's what I have.
I'm not a mod_rewrite expert so this may be simple or not but does anyone know how to correct it? Here's my code for it;
Code:RewriteEngine on RewriteRule ^go/logout/?$ process.php [L] RewriteRule ^go/([A-Za-z0-9-]+)/?$ $1.php [L] RewriteRule ^go/dashboard/([A-Za-z0-9-]+)/?$ dashboard.php?p=$1 [L] RewriteRule ^([A-Za-z0-9-]+)/?$ profile.php?user=$1 [L] RewriteCond %{HTTP_HOST} ^www.mysite.com [NC] RewriteRule ^(.*)$ http://mysite.com/$1 [L,R=301]





Reply With Quote

lol.
