Jump to content

Anyone know how to change ?page=2 to /page=2


Recommended Posts

Hello,

I'd like to know how I can change the categories' page query parameter to be /page=2/.

Example:
http://website.com/1-category/?page=2 should be http://website.com/1-category/page=2/
I've tried making a htaccess redirect but it redirects back to using the query parameter.
RewriteRule ^1-category\/page=(\d+)\/?$ ?id_category=1&controller=category&page=$1 [NC,L]

If anyone has any ideas I'd really like to know.

 

Thanks,

Luke

Link to comment
Share on other sites

  • 1 year later...

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...