coltrak Posted March 19, 2013 Share Posted March 19, 2013 (edited) I found the the cause of my problems in PS 1.5 with changing currency, logging in etc that i thought was Cache problem first. My store is set to coltrak.com but in SEO URLS in backoffice i had it set to www.coltrak.com and that seem to be the cause of the errors. Now that i have set the correct in backoffice coltrak.com all my links get broken and not redirected correctly. Can someone maybe help me out here. The canonical is set. Do i manually have to change the .htaccess or what? I erased it and made a new one with just clicking on/off in friendly URL...URGENT as now everything is broken, facebook and google..What to do? Edited March 19, 2013 by coltrak (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted March 19, 2013 Share Posted March 19, 2013 One of the easier fixes is to place this in the top of your .htaccess file. non www to www <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] </IfModule> 1 Link to comment Share on other sites More sharing options...
coltrak Posted March 19, 2013 Author Share Posted March 19, 2013 i tried that but it broke it totally, just put in the code between the start and end ifmodule? RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] Link to comment Share on other sites More sharing options...
El Patron Posted March 19, 2013 Share Posted March 19, 2013 (edited) If you are not familiar with updating your .htaccess you can use this module: http://www.etiendas....e-htaccess.html you can also read this post: http://www.prestasho...ustom-htaccess/ this all of course assumes you are running Apache and not windows or some other OS Edited March 19, 2013 by elpatron (see edit history) Link to comment Share on other sites More sharing options...
coltrak Posted March 19, 2013 Author Share Posted March 19, 2013 Thank you elPatron i owe you a beer next time ur out in Medallo, u saved a lot of hair pulling today with a fast answer, a little trial and error with htaccess and its done thank you Link to comment Share on other sites More sharing options...
El Patron Posted March 19, 2013 Share Posted March 19, 2013 Thank you elPatron i owe you a beer next time ur out in Medallo, u saved a lot of hair pulling today with a fast answer, a little trial and error with htaccess and its done thank you con gusto...yo soy paisa don't forget to hit the like button liberally... 2 Link to comment Share on other sites More sharing options...
coltrak Posted March 19, 2013 Author Share Posted March 19, 2013 another question, will this change my google ranking so all pages needs to be updated to just coltrak.com or how does it work. ive updated in webmastertools with new sitemap and fetch..still learning Link to comment Share on other sites More sharing options...
El Patron Posted March 19, 2013 Share Posted March 19, 2013 keep learning...google (in webmaster tools) has an option on whether you want it fetched with or without the www. Link to comment Share on other sites More sharing options...
vkpdaxdv Posted March 20, 2013 Share Posted March 20, 2013 Thank you elPatron i owe you a beer next time ur out in Medallo Link to comment Share on other sites More sharing options...
Recommended Posts