kelvin95 Posted June 2, 2017 Share Posted June 2, 2017 Hi, When I go to admin and go to seo urls 5 and set the url format to either "rewrite" or "path_rewrite" and when I go to the products page or categories page, it redirects me back to home page. i.e, when I go to http://servername.com/catalog/product-c-31.html, it redirects me to http://servername.com. Any fixes to this problem? Kelvin Link to comment Share on other sites More sharing options...
frankl Posted June 3, 2017 Share Posted June 3, 2017 Hi Kelvin Have you made the changes to the .htaccess file? osCommerce user since 2003! Link to comment Share on other sites More sharing options...
mcmannehan Posted June 3, 2017 Share Posted June 3, 2017 Your .htaccess should have this included: <IfModule mod_rewrite.c> RewriteEngine On # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change RewriteBase using the instructions above RewriteBase / RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA] RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA] </IfModule> The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
kelvin95 Posted June 4, 2017 Author Share Posted June 4, 2017 Thanks. That solved the problem Link to comment Share on other sites More sharing options...
mcmannehan Posted June 5, 2017 Share Posted June 5, 2017 you welcome. i recommand to read this too: The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
paulinamajek Posted June 5, 2017 Share Posted June 5, 2017 thank u. I always had the same problem Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.