Jump to content

htacess help needed, I gave up!


Muhammad Mustafa

Recommended Posts

I need to change the default .htaccess mod_rewrite as follow

RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]


mysite.com/id-category
to
mysite.com/category/


I changed link.php and link structre working OK allover my store, but I had to manual rewrite each single category in .htaccess, any solution to the above RewriteRule to achieve the target??

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...