• Resolved cheaplt

    (@cheaplt)


    Hi AITpro, glad to see you presence. I have a couple of questions and an issue i cant seem to resolve regarding the magic buttons and hta file.

    To start it off i had transferred my website to an upgraded server through the migration they had written new lines in my Htaccess file, i don’t know exactly what they did to it. but it is important for my website to function properly. The issue i am having is BPS giving me a notice in my admin saying this.

    BPS Alert! Your site does not appear to be protected by BulletProof Security
    Go to the Security Modes page and click the Create secure.htaccess File AutoMagic button and Activate Root Folder BulletProof Mode.
    If your site is in Maintenance Mode then your site is protected by BPS and this Alert will remain to remind you to put your site back in BulletProof Mode again.
    If your site is in Default Mode then it is NOT protected by BulletProof Security. Check the BPS Security Status page to view your BPS Security Status information.

    I followed the instructions giving by this notice but when it creates a new hta access file it renders my site not working properly as in my pages are not loading on the front end of my website.

    My goal is to have BPS working and protecting my site but i also need my current hta settings for my website to function properly. This is a huge issue for me is there anything i can do?

    https://www.ads-software.com/plugins/bulletproof-security/

Viewing 13 replies - 16 through 28 (of 28 total)
  • Thread Starter cheaplt

    (@cheaplt)

    I did a search for it and i couldn’t seem to find the query code you mentioned, what should i do?

    Plugin Author AITpro

    (@aitpro)

    Well then BPS is not really active on your site if you are not using the BPS Query String security filters since they are the primary security filters for your site. You can either customize your root .htaccess further to include BPS .htaccess code or you can just uninstall BPS if you no longer want to use it.

    Thread Starter cheaplt

    (@cheaplt)

    I think BPS is the best plugin for WordPress! How would i include this code in my hta? i really want to use BPS for my website, do i just copy and paste that code above in the bottom of my root hta file? Your guidance is truly appreciated.

    Plugin Author AITpro

    (@aitpro)

    What I would do is to use BPS Custom Code to create my own customized root .htaccess file since you have additional custom .htaccess code and also .htaccess code from the BWPS plugin. Go to the ait-pro.com website, click on the Contact page and use the email address to send your root .htaccess file. Send the root .htaccess file as an attachment. Then I will tell you where all of your custom .htaccess code goes in each BPS Custom Code text box.

    Thread Starter cheaplt

    (@cheaplt)

    Okay thank you very much i have sent you the email. Im also uninstalling BetterWP Security. Again your plugin is amazing, i am very grateful for this wonderful plugin you’ve created.

    Plugin Author AITpro

    (@aitpro)

    I have created a new root .htaccess file for you and put all the code in the correct places in that file with notes about where you would add that .htaccess code to each specific BPS Custom Code text box.

    Plugin Author AITpro

    (@aitpro)

    Can this thread be resolved now? If so, please resolve this thread. Thanks.

    Thread Starter cheaplt

    (@cheaplt)

    Sorry mate, i just got back from work. Im about to start following your hta instructions i will update on this!

    Thread Starter cheaplt

    (@cheaplt)

    Hi i ran into a couple of blockades, can you help me diagnose how i should do this.
    Do i include the last 4 lines of this QUERY STRING code in the custom code area?

    RewriteCond %{QUERY_STRING} (sp_executesql) [NC]
    RewriteRule ^(.*)$ – [F,L]
    # END BPSQSE BPS QUERY STRING EXPLOITS
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # WP REWRITE LOOP END

    Also in the custom code area for DENY BROWSER Access:

    do i include the last 2 lines of this code?

    # DENY BROWSER ACCESS TO THESE FILES
    # wp-config.php, bb-config.php, php.ini, php5.ini, readme.html
    # Replace Allow from 88.77.66.55 with your current IP address and remove the
    # pound sign # from in front of the Allow from line of code below to access these
    # files directly from your browser.

    <FilesMatch “^(wp-config\.php|php\.ini|php5\.ini|readme\.html|bb-config\.php)”>
    Order allow,deny
    Deny from all
    #Allow from 88.77.66.55
    </FilesMatch>

    # IMPORTANT!!! DO NOT DELETE!!! the END WordPress text below
    # END WordPress

    Thanks for your help thus far very helpful!

    Plugin Author AITpro

    (@aitpro)

    Do i include the last 4 lines of this QUERY STRING code in the custom code area?

    No, the last 3 lines are not part of the Query String Filters and are the end of the WordPress Rewrite Loop.

    You are not doing anything at all with the Deny Browser section of code. Only go by the instructions I have included in the .htaccess file. If you do not see instructions directly above a section of code then do not do anything with that code.

    Plugin Author AITpro

    (@aitpro)

    I recommend that you manually test the .htaccess file I sent you first before you add all the code to Custom Code and create a new root .htaccess file. Make a copy of your current root .htaccess file and then upload the .htaccess file I sent you. If everything works then you know that everything will also work after you add all the code to BPS Custom Code and create a new root .htaccess file.

    Thread Starter cheaplt

    (@cheaplt)

    Okay thank you for clearing that up, i finished your instructions and then created the hta file and activated and now my website is protected =D i am very happy! Issue resolved ??

    Plugin Author AITpro

    (@aitpro)

    Great! Thanks.

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘Magic Buttons and Admin Notice Issue’ is closed to new replies.