User Tools

Site Tools


redirect_links_from_another_platform

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
redirect_links_from_another_platform [2015/06/26 21:20]
78.72.180.122 [osCommerce]
redirect_links_from_another_platform [2015/06/29 22:09] (current)
78.72.180.122 [osCommerce]
Line 27: Line 27:
   # Redirect old osCommerce URLs   # Redirect old osCommerce URLs
   RewriteCond %{REQUEST_URI} ^(/​|/​index.php) [NC]   RewriteCond %{REQUEST_URI} ^(/​|/​index.php) [NC]
-  RewriteCond %{QUERY_STRING} cPath=([0-9]+_)?​([0-9]+) +  RewriteCond %{QUERY_STRING} cPath=([0-9]_+)?([0-9]_+)?​([0-9]+) 
-  RewriteRule .* /​index.php/​category?​category_id=%[R=301,L] +  RewriteRule .* /​index.php/​category?​category_id=%[R=301,L] 
-  RewriteRule ^.*-c-([0-9]+_)?​([0-9]+)\.html$ /​index.php/​category?​category_id=$[R=301,L]+  RewriteRule ^.*-c-([0-9]+_)?([0-9]+_)?​([0-9]+)\.html$ /​index.php/​category?​category_id=$[R=301,L]
   ​   ​
   RewriteCond %{REQUEST_URI} ^(/​|/​index.php) [NC]   RewriteCond %{REQUEST_URI} ^(/​|/​index.php) [NC]
redirect_links_from_another_platform.txt · Last modified: 2015/06/29 22:09 by 78.72.180.122