teradrop Posted December 25, 2013 Share Posted December 25, 2013 Hi Everyone I'm just wondering if anyone's had any experience redirecting pages. What I want to do is redirect https://domain.com/support/cart.php?gid=6 to http://domain.com/downloads/addon.html I've tried using redirect /support/cart.php?gid=6 http://domain.com/downloads/addon.html in htaccess but it doesn't seem to be working. Can anyone think of a better way to do this? Thanks Sandeep 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 26, 2013 Share Posted December 26, 2013 http://forum.whmcs.com/showthread.php?79330-Redirect-product-group-to-other-URL&p=338918#post338918 in your case, it might be... RewriteEngine On RewriteCond %{REQUEST_URI} ^/cart\.php$ RewriteCond %{QUERY_STRING} ^gid=6$ RewriteRule ^(.*)$ http://www.domain.com/downloads/addon.html [R=302,L] 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.