Welcome! Log In Create A New Profile

Advanced

Tomato Cart rewrites

Posted by vpslist 
Tomato Cart rewrites
March 08, 2011 06:15PM
RewriteRule ^([0-9]+)--(.*)$ info.php?articles_categories&articles_categories_id=$1&%{QUERY_STRING} [L]
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)--(.*)$ info.php?articles&articles_id=$2&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)-f-(.*).html$ info.php?faqs&faq_id=$1&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html$ products.php?$3&cPath=$1&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html$ products.php?$3&manufacturers=$1&%{QUERY_STRING} [L]
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html$ products.php?$2&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)-t-(.*).html$ products.php?tell_a_friend&$1&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)-(.*).html$ products.php?$1&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)-(.*)$ index.php?cPath=$1&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)_(.*)$ index.php?manufacturers=$1&%{QUERY_STRING} [L]
RewriteRule ^contact.html$ info.php?contact&%{QUERY_STRING} [L]
RewriteRule ^sitemap.html$ info.php?sitemap&%{QUERY_STRING} [L]
RewriteRule ^faqs.html$ info.php?faqs&%{QUERY_STRING} [L]

I've never dealt with a rewrite before :-(
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready