Jump to content

Create custom rewrite rules


roberto06

Recommended Posts

Hi

 

I'm looking for a way to create a custom URL rewrite rule, as such:

I need the page "test.html" to be an alias of a category page with filters, so I tried to insert the following rule in the .htaccess file :

RewriteRule ^test.html$ /category.php?id_category=14&selected_filters=myfilters [L]

The problem is that Prestashop redirects my page instead of just rewriting the URL (even though there's no [R=301] flag), any idea how to solve this ?

 

Thanks.

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