Rayan Posted February 19, 2011 Share Posted February 19, 2011 When I turn ON the FRIENDLY URL from Back Office >> Preferences my products dont display on my website and gives an error saying the WEBSITE page doesn't exist anymore. I generated the .htaccess file but I am not sure what is the problem. Please help me how to solve it. Link to comment Share on other sites More sharing options...
shokinro Posted February 19, 2011 Share Posted February 19, 2011 First, some server does not support URL rewrite function, such as windows server. If your hosting is windows hosting, you will have to disable it.2nd, if your store is not at root, but under a folder something like /shop/, make sure the generated .htaccess file has /shop/ included in the ReWrite rule for images. See below RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /shop/img/p/$1-$2$3.jpg [QSA,L,E] RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /shop/img/p/$1-$2.jpg [QSA,L,E] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /shop/img/c/$1$2.jpg [QSA,L,E] Link to comment Share on other sites More sharing options...
Rayan Posted February 19, 2011 Author Share Posted February 19, 2011 First, some server does not support URL rewrite function, such as windows server. If your hosting is windows hosting, you will have to disable it.2nd, if your store is not at root, but under a folder something like /shop/, make sure the generated .htaccess file has /shop/ included in the ReWrite rule for images. See belowRewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /shop/img/p/$1-$2$3.jpg [QSA,L,E] RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /shop/img/p/$1-$2.jpg [QSA,L,E] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /shop/img/c/$1$2.jpg [QSA,L,E] Thnaks....It's already solved. I dont know how but it's solved. I use HOSTGATOR hosting. 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