PS-legacy.htaccess
#48
by
doekia
RewriteEngine on
RewriteRule . - [E=REWRITEBASE:/]
# legacy since 1.2.5 urls
RewriteRule ^best-sales\.php$ %{ENV:REWRITEBASE}index.php?controller=best-sales [L,QSA]
RewriteRule ^contact\.php$ %{ENV:REWRITEBASE}index.php?controller=contact [L,QSA]
RewriteRule ^contact\-form\.php$ %{ENV:REWRITEBASE}index.php?controller=contact [L,QSA]
RewriteRule ^manufacturer\.php$ %{ENV:REWRITEBASE}index.php?controller=manufacturer [L,QSA]
RewriteRule ^new-products\.php$ %{ENV:REWRITEBASE}index.php?controller=new-products [L,QSA]
RewriteRule ^password\.php$ %{ENV:REWRITEBASE}index.php?controller=password [L,QSA]
RewriteRule ^prices-drop\.php$ %{ENV:REWRITEBASE}index.php?controller=prices-drop [L,QSA]
RewriteRule ^sitemap\.php$ %{ENV:REWRITEBASE}index.php?controller=sitemap [L,QSA]
RewriteRule ^supplier\.php$ %{ENV:REWRITEBASE}index.php?controller=supplier [L,QSA]
RewriteRule ^address\.php$ %{ENV:REWRITEBASE}index.php?controller=address [L,QSA]
RewriteRule ^addresses\.php$ %{ENV:REWRITEBASE}index.php?controller=addresses [L,QSA]
RewriteRule ^authentication\.php$ %{ENV:REWRITEBASE}index.php?controller=authentication [L,QSA]
RewriteRule ^cart\.php$ %{ENV:REWRITEBASE}index.php?controller=cart [L,QSA]
RewriteRule ^discount\.php$ %{ENV:REWRITEBASE}index.php?controller=discount [L,QSA]
RewriteRule ^history\.php$ %{ENV:REWRITEBASE}index.php?controller=history [L,QSA]
RewriteRule ^identity\.php$ %{ENV:REWRITEBASE}index.php?controller=identity [L,QSA]
RewriteRule ^my-account\.php$ %{ENV:REWRITEBASE}index.php?controller=my-account [L,QSA]
RewriteRule ^order-follow\.php$ %{ENV:REWRITEBASE}index.php?controller=order-follow [L,QSA]
RewriteRule ^order-slip\.php$ %{ENV:REWRITEBASE}index.php?controller=order-slip [L,QSA]
RewriteRule ^order\.php$ %{ENV:REWRITEBASE}index.php?controller=order [L,QSA]
RewriteRule ^search\.php$ %{ENV:REWRITEBASE}index.php?controller=search [L,QSA]
RewriteRule ^stores\.php$ %{ENV:REWRITEBASE}index.php?controller=stores [L,QSA]
RewriteRule ^order-opc\.php$ %{ENV:REWRITEBASE}index.php?controller=order-opc [L,QSA]
RewriteRule ^guest-tracking\.php$ %{ENV:REWRITEBASE}index.php?controller=guest-tracking [L,QSA]
RewriteRule ^products-comparison\.php$ %{ENV:REWRITEBASE}index.php?controller=products-comparison [L,QSA]
RewriteRule ^product\.php$ %{ENV:REWRITEBASE}index.php?controller=product [QSA,L]