itsmei Posted March 16, 2013 Share Posted March 16, 2013 Hello, I am interested in redirecting this link: https://www.testsite.com/clients/cart.php?gid=1 To this link: https://www.testsite.com/page/ I know there is a .htaccess file in the WHMCS directory but is it possible I could have some help. Any help is much appreciated! Thank you 0 Quote Link to comment Share on other sites More sharing options...
lukinhasb Posted March 17, 2013 Share Posted March 17, 2013 Options +FollowSymlinks RewriteEngine On Options -MultiViews RewriteBase /clients/ # prevent endless loop RewriteCond %{ENV:REDIRECT_STATUS} 200 RewriteRule ^ - [L] RewriteRule ^cart.php$ page [R,L] RewriteRule ^page$ ./cart.php [L,NC] PS: See if your domain availability script will still work with those changes, if not, remove the [R,L] rewrite rule 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.