Hello,
I'm hoping that perhaps you can help me. I am trying to redirect one of my product info pages to a defines page (don't ask why!).
Here's the code in my htaccess:
RewriteEngine On
RewriteCond %{QUERY_STRING} ^main_page=document_product_info&cPath34&products_id=130$ [NC]
RewriteRule ^(.*)$ http://mysite/index.php?main_page=about_us [R=301,L]
I am pretty certain that the rewrite condition is correct as I've gotten the redirect to work "sometimes" -- meaning that messing with the rewrite rule, it previously redirected to my homepage instead of my about us page.
I've messed around with the the last line some more, and now it doesn't redirect to anywhere.
I don't know what I'm doing when it comes to the htaccess. The code snippets above I've gotten from mixing and matching from other posts.
I think all I need is a correction on the rewrite rule.
Thanks in advance for any suggestions!


Reply With Quote
