Jump to content

how to redirect direct access to whmcs through to WP integration


Recommended Posts

I am using a integration so that my whmcs pages are within wordpress.


whmcs is installed at mydomain.com/client


wordpress integration shows at mydomain.com/client-area


How would i redirect anyone trying to access the client area through to the integration instead?


I tried a htaccess redirect and this simply gives an infinte redirect loop within the page and keeps loading the client-area page intot he first instance of it and so on forever.


I ahve tried to put a js top.window check but this seems to be not working correctly for whatever reason.


Any suggestions on hwo this has been done in the past?


Essentially i need any type of access which goes to client/index.php to go to /client-area/?ccce=index and the same for any other pages within whmcs which are in the integration.


sorry for my bad explanation. if anyone could suggest a solution pls.

Link to comment
Share on other sites

have a read of the threads below...





it's using a different WHMCS/WP integration software - I assume that you're using WHMCS Bridge - but that doesn't matter...


it uses .htaccess to only allow direct access to your WHMCS installation from certain IP Addresses (e.g yours, any other admins and the WP IP) - it should give you a general solution of preventing access to your whmcs installation and redirecting visitors to another address (e.g your WP site), though i'm not sure if you could add additional rewrite rules to redirect specific pages.


also, the WHMCS Bridge Pro can supposedly redirect pages from WHMCS to WP - though if you want to test this, i'd suggest getting the trial version before buying it..


Auto Redirect

Automatically redirect customers visiting your WHMCS site to your WordPress site, works for support ticket links, invoice links, etc.

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.

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