hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : 301 redirect dynamic to dynamic

Forum Jump

301 redirect dynamic to dynamic

Reply Post New Thread In Programming Discussion Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Join Date: Mar 2009
Posts: 6
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]

Sponsored Links
Join Date: Jul 2007
Location: United States
Posts: 19
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]


Related posts from
Title Type Date Posted
Microsoft Returns Domain Names to No-IP After Taking Down Dynamic DNS Service Users Web Hosting News 2014-07-07 13:35:00
ICANN Bulk Transfers Domains from Dynamic Dolphin to BigRock Web Hosting News 2013-12-27 12:04:23
INetU Adds Dynamic Virtual Scaling to Simplify Managed Cloud Hosting Web Hosting News 2013-07-15 12:05:05
1&1 Internet Adds Scalable Options to Dynamic Cloud Server Web Hosting News 2013-05-01 16:59:53
GoGrid Adds New Firewall Services to Cloud SDN Architecture Web Hosting News 2013-04-11 10:50:21

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?