Xoda Posted July 12, 2009 Share Posted July 12, 2009 I can use the backoffice but the frontoffice redirects to the site root.At www.retrocamera.net is a Wordpress-blogI have installed Prestashop in www.retrocamera.net/shop/Deleted install-folder, renamed admin-folderBackoffice works but not frontoffice.I have tried deleting .htaccess in both prestashop and the roots Wordpress, enable/deactivated friendly urls, set the config.inc.php to show errors. I've tried with prestashop theme and my own and it will not work. I have tried Firefox, Opera, Safari.I have had Prestashop at the domain before but now I made a clean install.Any ideas (mine are out, and I'm quite frustrated at the moment)?? Link to comment Share on other sites More sharing options...
Xoda Posted July 12, 2009 Author Share Posted July 12, 2009 Ok, 404 and productpages seems to work now but not the home-page. Since I have the shop in a subfolder I've added /shop/ om the RewriteRules in .htaccess... it looks like this. Anything more to add there? # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /shop/product.php?id_product=$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /shop/product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /shop/category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /shop/cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /shop/supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /shop/manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /shop/404.php Link to comment Share on other sites More sharing options...
Xoda Posted July 12, 2009 Author Share Posted July 12, 2009 Gaaaah, everyting but the home-page works! And I'm stuck. Link to comment Share on other sites More sharing options...
Xoda Posted July 12, 2009 Author Share Posted July 12, 2009 Bah, I'll try a reinstall in a subdomain instead. Link to comment Share on other sites More sharing options...
Xoda Posted July 12, 2009 Author Share Posted July 12, 2009 Ok, now I got it working with a fresh install in a subdomain.Guess it could have been a conflict between the Wordpress .htaccess and Prestashop. didn't find anything obvious though. If anyone have a likely answer it would be nice to know for future projects. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now