Hi all,
Firstly an apology - 90% of my contributions to this forum recently appear to be asking for help rather than being helpful! I'm just really stuck for time at the moment and haven't been able to spend my usual time surfing.
Anyways, to the issue at hand. Given the following .htaccess file ( a typical OSCommerce rewrite job ) any chance someone can give me some tips on how I would go about ensuring a specified URL paramater was maintained? Basically, I think the rules as they stand are stripping the AdWords gclickId, so I'd like to ensure it's preserved but my knowledge of regular expressions and mod_rewrite is pitifully weak so am stuck.
Options -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
Ideas?
DM