Hi,
in my store i need to redirect via htaccess all pages of a master category to the master category.
For example
www.mysite.it/mycategory/subcategory
www.mysite.it/mycategory/a_product
www.mysite.it/mycategory/subcategory/a_product
etc
to
www.mysite.it/mycategory
any idea? im not able with htaccess. I try to do but without any result
My opencart version are 2.1
Tnx
Salvo
You can simply get the route and other parameters and set the redirection accordingly.
For reference - You can create a function where you can pass the route and category id and send them to the desired page.
Thanks.
For reference - You can create a function where you can pass the route and category id and send them to the desired page.
Thanks.
Who is online
Users browsing this forum: No registered users and 288 guests