This is my current rewrite URL for product info display
- Code: Select all
product-name-p-3761.html
New format:
- Code: Select all
product-name,pid3761
Visitors coming from google will click on www.mysite.com/product-name-p-3761.html but www.mysite.com/product-name,pid3761 will be displayed.
OLD FORMAT:
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
NEW FORMAT:
RewriteRule ^(.*),pid(.*) product_info.php?products_id=$2&%{QUERY_STRING}
Any help?