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

    (@mbrsolution)

    Hi, did you enable the following feature Deny Bad Query Strings: under Firewall -> Additional Firewall Rules?

    If you did you need to find which string is causing your issue then remove that string from the code added in your .htaccess file.

    The way to achieve this is by copying all the code added in the .htaccess file into the following tab Custom Rules under Firewall. Then you remove the string that is causing this issue. Then you disable Deny Bad Query Strings:. That way when ever you update the plugin you will not loose your custom settings.

    If you don’t know what string is causing this issue and it is very challenging to find out, you can always disable the following feature Deny Bad Query Strings:.

    Let me know if this helps you.

    Kind regards

    Thread Starter surefoot

    (@surefoot)

    Hi, thanks for response. I have the feature enabled. I had tried disabling ‘Deny Bad Query Strings’ before but it did not help but when I had deactivated the whole plugin the issue got resolved.

    I also made a copy of the .htaccess file and tried removing the portions within below sections
    #AIOWPS_DENY_BAD_QUERY_STRINGS_START
    #AIOWPS_ADVANCED_CHAR_STRING_FILTER_START

    Since when the url is there in query string I get forbidden error these sections seemed likely.

    I have a question regarding your suggestion that if I copy .htaccess to Custom rules do I delete those in .htaccess?

    Best regards

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, in regards to your question.

    I have a question regarding your suggestion that if I copy .htaccess to Custom rules do I delete those in .htaccess?

    When you copy the content between the above tags and including the tags into Custom Rules tab, you don’t have to delete anything from the .htaccess file. All this is done automatically by the plugin.

    For example, after you copy the above mentioned and disable the following feature Deny Bad Query Strings:. The plugin will remove the content from the following,

    #AIOWPS_DENY_BAD_QUERY_STRINGS_START
    #AIOWPS_ADVANCED_CHAR_STRING_FILTER_START

    and move it outside of the plugins tags in the .htaccess file. This prevents the plugin from removing any customization after you update the plugin.

    Let me know if you need more information.

    Thread Starter surefoot

    (@surefoot)

    Thanks for your help. The reason was 5G Blacklist. Line was #RewriteRule .* – [F]. I have commented it out.

    Can you now guide me regarding how commenting this out will affect me?

    Best regards

    Hi,

    If the membership plugin works with 6G enabled, just disable 5G and you are fine. 5G is already quite outdated these days.

    Cheers,
    ?eslav

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Allow a url in query-string’ is closed to new replies.