Forum Moderators: phranque
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com
RewriteRule ^(.*)$ http://www.mysite.com/$1 [r=301,L]
RewriteRule ^[Ff][Ee][Aa][Tt][Uu][Rr][Ee][Dd].html?$ cart.php?m=featured
RewriteRule ^[Nn][Ee][Ww]_[Aa][Rr][Rr][Ii][Vv][Aa][Ll][Ss].html?$ cart.php?m=new_arrivals
RewriteRule ^[Ss][Pp][Ee][Cc][Ii][Aa][Ll][Ss].html?$ cart.php?m=on_sale
RewriteRule ^[Tt][Oo][Pp]_[Ss][Ee][Ll][Ll][Ee][Rr][Ss].html?$ cart.php?m=top_sellers
RewriteRule ^[Ss][Pp][Ll][Aa][Ss][Hh][-_][Pp][Aa][Gg][Ee]\.html?$ cart.php?m=splash
RewriteRule ^.*_v([\d]+)/?$ cart.php?m=product_vendor_list&v=$1 [L]
RewriteRule ^.*-v([\d]+)/?$ cart.php?m=product_vendor_list&v=$1 [L]
RewriteRule ^.*_v([0-9]+)/?$ cart.php?m=product_vendor_list&v=$1 [L]
RewriteRule ^.*-v([0-9]+)/?$ cart.php?m=product_vendor_list&v=$1 [L]
RewriteRule ^.*_c([\d]+)/?$ cart.php?m=product_list&c=$1 [L]
RewriteRule ^.*-c([\d]+)/?$ cart.php?m=product_list&c=$1 [L]
RewriteRule ^.*_c([0-9]+)/?$ cart.php?m=product_list&c=$1 [L]
RewriteRule ^.*-c([0-9]+)/?$ cart.php?m=product_list&c=$1 [L]
RewriteRule ^.*[-_]p([0-9]+).html?,gwo$ cart.php?m=product_detail&p=$1&gwo=Y [R=301,L]
RewriteRule ^.*_p([\d]+).html?,?([\d])?,?([\d])?$ cart.php?m=product_detail&p=$1&special=$2&related=$3 [L]
RewriteRule ^.*-p([\d]+).html?,?([\d])?,?([\d])?$ cart.php?m=product_detail&p=$1&special=$2&related=$3 [L]
RewriteRule ^.*_p([0-9]+).html?,?([0-9])?,?([0-9])?$ cart.php?m=product_detail&p=$1&special=$2&related=$3 [L]
RewriteRule ^.*-p([0-9]+).html?,?([0-9])?,?([0-9])?$ cart.php?m=product_detail&p=$1&special=$2&related=$3 [L]
RewriteRule ^cart\.html?([^/]*)$ cart.php$1
RewriteRule ^(.*/wysiwyg/.*\.html?)$ $1 [L]
RewriteRule ^(.*)/$ cart.php?m=content&explode=Y&name=$1 [L]
RewriteRule ^(.*)/([^/]+)\.(html?)$ cart.php?m=content&name=$2&path=$1&ext=$3
RewriteRule ^([^\.]+)/$ cart.php?m=content&explode=Y&name=$1 [L]
RewriteRule ^([^\.]+)$ cart.php?m=content&name=$1 [L]
RewriteRule ^([^/]+)\.(html?)$ cart.php?m=content&name=$1&ext=$2
RewriteRule ^items?/([\d]+)/?$ cart.php?m=product_detail&p=$1
RewriteRule ^products?/([\d]+)/?$ cart.php?m=product_detail&p=$1
</IfModule> example.com/this-product-is-junk-902462-acme-widget will result in your content being indexed for these "spoofed" URLs.