jacksony Posted June 16, 2017 Share Posted June 16, 2017 Hi, The whmcs root domain is http://www.abc.com. def.com is a Alias/parked domain. We have setup a htaccess (outside root) to redirect https://www.def.com to https://www.def.com/billing/cart.php?a=add&domain=register We can see it is being redirected, however, due to some inbuilt htaccess in WHMCS, when it reached https://www.def.com/billing/cart.php?a=add&domain=register, it was redirected back to https://www.abc.com/billing/cart.php?a=add&domain=register, which is not what we want. Is there anyway we can stop that redirection from whmcs? 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted June 16, 2017 Share Posted June 16, 2017 How is the .htaccess redirect written for the alias domain? Modifying the regular expression could potentially be the key to obtaining your desired results. 0 Quote Link to comment Share on other sites More sharing options...
jacksony Posted June 16, 2017 Author Share Posted June 16, 2017 Hi! The redirection for the alias/parked domain from https://www.def.com to https://www.def.com/billing/cart.php...omain=register is confirmed to be working. However what we are seeing is WHMCS seems to have internal htaccess/redirection, as it was redirected back to https://www.abc.com/billing/cart.php...omain=register . So we want to know how can we stop or modify that default behavior from WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted June 16, 2017 Share Posted June 16, 2017 How is the .htaccess redirect written for the alias domain? Modifying the regular expression could potentially be the key to obtaining your desired results. 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.