Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AITpro

    (@aitpro)

    Yep my explanation needs to be a little clearer on this. Also I am just about to release BPS .46.1 so once that is released I will do some BPS Guide updating and clean up work. This video tutorial on setting up BPS shows what you do with the .htaccess code WordPress generates when you update your permalinks. The video tutorial is a quickie and it is very unpolished. When i realease .46.1 i will have to create a new video tutorial because there has been a major change to Maintenance Mode – it is AutoMagic now. ??

    In a nut shell you copy just the .htaccess code section that WordPress has generated to the identical matching code section in the secure.htaccess file. You are just overwriting the WordPress section of code and leaving all other .htaccess code in the secure.htaccess file as it is.
    https://www.ait-pro.com/aitpro-blog/2481/bulletproof-security-plugin-support/wordpress-security-bulletproof-security-setup-bulletproof-security-wordpress-subfolder-installation/

    Thread Starter sweetmelody

    (@sweetmelody)

    Auto magic maintenance mode?! Wow!!! So exciting! Can’t wait for that.

    The newly generated .htaccess code in ‘Your Current root .htaccess file’ has <Limit GET POST>, etc until <END #Wordpress>. Do I just copy all and replace the codes from <BEGIN #Wordpress> until <END #Wordpress> in ‘secure.htaccess’ file?

    <Limit GET POST>
    ...
    </Limit>
    <Limit PUT DELETE>
    ...
    </Limit>
    # Use PHP5 Single php.ini as default
    ...
    
    # BEGIN WordPress
    ...
    
    # END WordPress
    Plugin Author AITpro

    (@aitpro)

    Woo hoo AutoMagic! Yeah it’s a really simple thing to code. Much simpler than creating the BPS File Editor. The idea was and is to have it all for Coders, Developers, Designers and regular folks. I personally want manual control of things, but most people just want to click a button and have it done automatically. ?? I did the time consuming part of creating the BPS File Editor, now i can just add AutoMagic for the rest of the htaccess files. ??

    yep you are only copying and pasting just the WordPress generated htaccess code that starts with # BEGIN WordPress and ends with # END WordPress from “Your Current Root .htaccess File” to the section of htaccess code in the secure.htaccess master file that starts with # BEGIN WordPress and ends with # END WordPress. You are just overwriting or replacing it with what WordPess generated for you. Once the WordPress htaccess code is added to your secure.htaccess master file you can activate BulletProof Mode for you Root folder. The Limit GET POST htaccess code is being generated from another source. ie you have another plugin that is writing htaccess code to your root htaccess file. Thanks

    Thread Starter sweetmelody

    (@sweetmelody)

    But error still exist – ‘NO .htaccess file was found in your /wp-admin folder’ after completed the above task.

    Do I have to copy the codes in ‘wpadmin-secure.htaccess’ to ‘Your current wp-admin htaccess File’?

    Thank you for your patient, I’m a little dumb on this. ?

    Plugin Author AITpro

    (@aitpro)

    The BPS File Editor is just for editing and making changes to your BPS Master htaccess files and your currently active htaccess files. To activate htaccess files (activate BulletProof Modes) Click on the Security Modes menu and activate BulletProof Mode for the /wp-admin folder. Also be sure to activate the 2 Deny All BulletProof Modes for your Master folder and your Backup folder.

    Thread Starter sweetmelody

    (@sweetmelody)

    All done! Thank you for your help. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: BulletProof Security] To Generate a Wp-admin .htaccess File’ is closed to new replies.