Block Direct WHMCS View

Being that I have WHMCS being viewed through a WP Page. How can I block clients from visiting WHMCS directly? Like when entering http://www.yourdomain.com/whmcs?

Also, how can I block bots/search engines from indexing WHMCS items?

  • aecnu

    Greetings idesigndmedia,

    Thank you for the great questions, they are certainly appreciated.

    Being that I have WHMCS being viewed through a WP Page. How can I block clients from visiting WHMCS directly?

    There are perhaps several ways to do this but I would recommend possibly a clean htaccess redirect to make this happen using something like:

    ErrorDocument 403 http://www.domain.com
    Order deny,allow
    Deny from all
    Allow from 123.124.125.126
    Allow from 124.125.126.127

    In the example code above you would want to replace the http://www.domain.com with the domain of your WHMCS WP Integration plugin installation.

    On the first allow IP include your WHMCS WP Integration plugin installation IP and the second allow IP your own or even you will not be able to access the WHMCS parent system directly.

    This would be placed in your WHMCS parent installation root htaccess file.

    Thank you for being a WPMU Dev Community Member!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.