seattle Posted July 19, 2011 Share Posted July 19, 2011 I'm having some issues with my website which I think may be down to Canonical URL issues but as i'm a newbie i need some advise.My home page is working perfectly http://www.equi1.com/ however when you click on any link (products, information, cart etc) it redirects to http://www.equi1.com/en/music-ipods/1-ipod-nano.html (for example) and comes up with a 404 Error:404 - File or directory not found.The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.Is this /en causing the issue? I have turned off the 'automatic redirect to Canonical url' under the SEO tab and have friendly URLs enabled. I have generated the htaccess file and also tried disabling all of the languages except for english. I have also tried turning the friendly URLs off but this has made no difference. This is a new install of prestacart. Can someone please point me in the right direction? Thanks in advance, Link to comment Share on other sites More sharing options...
Burhan BVK Posted July 19, 2011 Share Posted July 19, 2011 This is a problem with url redirect. You need apache for it to work properly, you seem to be using IIS. There are ways to implement url redirecting in IIS but if you are a newbie you are better of turning off friendly urls. Link to comment Share on other sites More sharing options...
seattle Posted July 19, 2011 Author Share Posted July 19, 2011 Thanks for the reply.I have turned off friendly URls and now receive the following error messages when I click on a link;The page isn't redirecting properlyFirefox has detected that the server is redirecting the request for this address in a way that will never complete * This problem can sometimes be caused by disabling or refusing to accept cookies.I have read the following thread and can access the .httaccess file. Should I add the following to the beginning of the file as I am keen to keep the friendly url features. http://www.prestashop.com/forums/viewthread/113943/configuring___using_prestashop/404_error_for_front_office__back_office_works 1. BEGIN WordPress RewriteEngine OnRewriteCond %{HTTP_HOST} ^domainname\.com\.plRewriteRule ^(.*)$ http://www.domainname.com.pl/$1 [R=permanent,L] 1. END WordPress 1. URL rewriting module activation RewriteEngine on 1. URL rewriting rules RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.)$ product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-])(.)$ category.php?id_category=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-])(.)$ supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-])(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] 1. Catch 404 errors ErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
seattle Posted July 19, 2011 Author Share Posted July 19, 2011 Update:I have just switched back to the standard prestashop theme and this now appears to be working. I had been working on the matrice theme. Link to comment Share on other sites More sharing options...
Recommended Posts