• Resolved Terry J

    (@texasbiz)


    I am tired of banging my head on desk, it is starting to hurt:)

    Finally disabled AIO and problem disappeared so came here with high hopes. THe support area has soooo many threads, hope I did not miss similar request, I did look…

    My issue:

    Have WHMCS on same domain (in directory folder) as WordPress. All links seem to work fine to WHMCS with the exception of one important one: register.php

    So if someone attempts to access https://example.com/members/register.php they are presented with 404 error.

    But https://example.com/members/clientarea.php works fine.

    Only issue is the register.php URL. Disabling AIO solves the 404 issues and page loads. Have looked at .htaccess and cannot seem to find issues.

    Would appreciate any input as stopped all work since people cannot register for new services.

    https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi Terry, can you carry out a test.

    Enable this plugin again and don’t enable any of the Firewall features. Let me know what happens.

    Thread Starter Terry J

    (@texasbiz)

    Thanks for fast reply @mbrsolution!

    Have the plugin back enabled as using the maint mode part. Will disable and enable basic protection without the firewall rules, then report back.

    Thread Starter Terry J

    (@texasbiz)

    OK, after a cup of coffee and the mention on “Firewall Features” my head is clearing…

    Here is what I discovered.

    Disabling all firewall features then enabling each one while checking URL drills down to these two settings:

    Disabled > Advanced Character String Filter

    Disabled > 5G Blacklist/Firewall Settings

    Then viewing .htaccess, see these two “possible issue” rules gone:

    RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php$

    RedirectMatch 403 register\.

    Since I would like to have both rules enabled, is there maybe something I could add to .htaccess which allows https://example.com/members/register.php to work along side AIO?

    Once again, thanks for your help.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    In regards to your question, one of the plugin developers will be advice you further.

    Regards

    Thread Starter Terry J

    (@texasbiz)

    Thanks much.

    Thread Starter Terry J

    (@texasbiz)

    Wondering if there is a solution to this? Really want to use all the firewall settings of AIO.

    Seems like there should be a line could use in .htaccess to allow full access to https://example.com/members/register.php with all setting enabled.

    Hopefully there is someone who can help?

    Thanks!

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi Terry,
    If you still want those rules in your htaccess file but need to remove the lines containing “register” I recommend you do the following:

    – edit your .htaccess file which contains the rules for “Advanced character strings” and “5G Blacklist/Firewall”.

    – Cut the whole sections of #AIOWPS_ADVANCED_CHAR_STRING_FILTER_START/END
    and
    #AIOWPS_FIVE_G_BLACKLIST_START/END

    and paste then outside of the tags called:
    # BEGIN All In One WP Security
    # END All In One WP Security

    – Remove the register strings from the code
    – Save the htaccess
    – Deactivate those rules from AIOWPS settings

    Thread Starter Terry J

    (@texasbiz)

    Thanks, will give that a try.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    I am marking this thread as resolved. No reply in 11 months.

    Thank you

    Thread Starter Terry J

    (@texasbiz)

    Sorry for no reply. I gave up and used another firewall plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘404 Errors with WHMCS on same domain’ is closed to new replies.