URL rewriting problem |
I'm locked with my system... I changed the settings in my config.php file to have URLs with parameters. Suddenly I have a product controller that displays the id that I pass URL parameter.
http://localhost:8888/mywebsite/index.ph...product=12 This URL works now I want to get a url of the type: http://localhost:8888/mywebsite/product/my-product-12 So I put this in the .htaccess file: Code: RewriteRule ^product/([a-zA-Z0-9\-]+)-([0-9]+).html$ index.php?c=product&m=index&id_product=$2 [L] But the page displays : The requested URL /index.php/product/my-product-12.html was not found on this server. My htaccess file : Code: #Options +FollowSymLinks My config.php file: Code: <?php |
Messages In This Thread |
URL rewriting problem - by xenos92 - 07-05-2016, 05:39 AM
RE: URL rewriting problem - by RogerMore - 07-08-2016, 12:46 AM
|