sharplab Posted August 24, 2006 Posted August 24, 2006 I read so much about how having sites like: http://www.site.com AND http://site.com CAN BE CONSIDERED DUPLICATE CONTENT! So I added this to my htaccess: Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^www\.mysite\.com [nc] rewriterule ^(.*)$ http://mysite.com/$1 [r=301,nc] NOW I cant log onto my admin because the admin needs the www. Any QUICK EZ Fix? Thank You All Soooooo Much! Lelia Sweet Webmaster Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
tkeats Posted August 24, 2006 Posted August 24, 2006 edit catalog/admin/includes/configure.php AFTER changing the permissions for writable access. find the www in the url config remove the www in the url config save file test alternatively, remove .htaccess file. Good Luck! Thomas A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous
sharplab Posted August 25, 2006 Author Posted August 25, 2006 edit catalog/admin/includes/configure.php AFTER changing the permissions for writable access. find the www in the url config remove the www in the url config save file test alternatively, remove .htaccess file. Good Luck! Thomas Thanks for reply! Just checked file and there are no WWW's anywhere. Any suggestions besides removing htaccess code? THX ! Lelia Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
tkeats Posted August 25, 2006 Posted August 25, 2006 Not trying to beat a dead horse, however make sure you check BOTH configure.php files. /catalog/includes/configure.php and /catalog/admin/includes/configure.php Thomas P.S. Other then running grep -r 'www.' * (a linux/unix command string) in the catalog directory at the shell prompt I wouldnt know where else to look. Sorry.. A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous
Recommended Posts
Archived
This topic is now archived and is closed to further replies.