[Zen Cart] Adding a redirect rule
would you know how i can add a rule to my htaccess to permanently redirect:
http://www.mysite.com/?abcd
to
http://www.mysite.com/?aid=abcd
Thanks
L.
Community board
https://www.inveostore.com/community/
https://www.inveostore.com/community/viewtopic.php?f=21&t=616
Code: Select all
RewriteCond %{QUERY_STRING} ^([a-z]*)$ [NC]
RewriteRule (.*) http://www.mysite.com/$1?aid=%1 [R=301,L]
Code: Select all
RewriteCond %{QUERY_STRING} ^([a-z0-9]*)$ [NC]
RewriteRule (.*) http://www.mysite.com/$1?aid=%1 [R=301,L]
No products
Shipping 0,00 €
Total 0,00 €
Prices are tax inclusive.
The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).
* Please create an account if your country does not match.
Just wanted to let you know that I got it working :-) It's an awesome product you've got there!
Justin, the owner of Fokvereniging VWF
I was a little concerned about using a 3rd party SEO module for osCommerce - there were some well established ones and they were free - Magic SEO URLs for osCommerce were paid for! But I was looking at my sites and getting concerned with duplicate content - everything was being duplicated and the search engines (allegedly) look down on...
Martin, the owner of Milton Gems and Shop4Silver
More Testimonials »