I to do 2 things:
1.) Redirect from https://domain.com/index.php to https://domain.com
2.) Redirect from https://domain.com/index.php?route=product/manufacturer to https://domain.com/brands
https://domain.com/brands is an adress that works when put in manually.
I tried many things and variations of this, but it is not working:
Code: Select all
RewriteBase / RewriteRule ^https://domain.com/index.php$ https://domain.com [R=301,L] RewriteRule ^index.php?route=product/manufacturer$ https://domain.com/brands [R=301,L]
Can anyone help? Thanks!