Results 1 to 2 of 2
  1. #1
    I searched the forums and found what I think are the answers I need but I wanted to make sure I am not way off base before I edited the htaccess file.
    I am migrating from oscommerce to zencart and I need to redirect existing dynamic links from
    Here is the code that I hope should work.
    RewriteEngine on
    RewriteCond %{QUERY_STRING} ^id=(.*)$
    RewriteRule ^product_info.php?$$1 [R=301, L]

  2. #2
    Join Date
    Jul 2007
    United States
    No need for a condition. Something like this should work:
    RewriteRule ^product_info.php?cPath=([0-9]+)&products_id=([0-9]+)$$1&products_id=$2 [R=301,L]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts