Jump to content

htaccess being affected from whmcs


jacksony

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated