Hey Kirupians…I have seem to have hit a brick wall adding Mod_Rewrite to a site.
The site is PHP/MySQL driven and includes a product database. The products are arranged in a category/product format.
The Mod_rewrite rule for the categories as shown below works fine.
http://www.atgairports.com/C13-Installation-Services/
RewriteRule ^C([0-9]+)(.*)/$ product-listing.php?i=$1 [L]
RewriteRule ^C([0-9]+)(.*)$ http://www.atgairports.com/B$1$2/ [R=301,L]
Altho the product one as shown below just keeps bouncing back to the category page - no error or anything?..
RewriteRule ^C([0-9]+)(.*)/P([0-9]+)(.*)/$ product-detail.php?i=$3 [L]
RewriteRule ^C([0-9]+)(.*)/P([0-9]+)(.*)$ http://www.atgairports.com/C$1$2/P$3$4/ [R=301,L]
Any ideas as I am befuddled??