WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] what's safe to delete in .htaccess? (3 posts)

  1. quantaweb
    Member
    Posted 1 year ago #

    I installed BPS sometime last year and wound up uninstalling it. However,
    I just opened up my .htacess (to manually add a handful of 301s) and found that there is still BPS stuff in it - not sure why.

    However the problem is that I dont' know what's been added by BPS and what has to be there for WordPress to operate correctly.

    I also see that this is in the file, over 30 times!

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    If someone can tell me what can be safely removed without screwing up my site, I'd be very appreciative.

    all best,
    Denise

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    I assume that BPS is not installed correct? If so, go to the WordPress Settings >>> Permalinks page and click the Save Changes button. This is will generate the standard WordPress .htaccess code. Or you can delete your root .htaccess and then do the steps above.

    The duplicated .htaccess code issue/problem is either caused by another plugin that is using the WordPress flush_rewrite_rules function or is caused by the cPanel Broken HotLink Protection Tool problem.

  3. quantaweb
    Member
    Posted 1 year ago #

    Thanks so much for your quick reply!

    I saved the permalinks settings but it didn't change anything. However, deleting the .htaccess first, then saving the settings did work.

    I may re-install BPS eventually but I had a hard time configuring it and just gave up - I confess I really didn't understand what (or how) it did or how to set it up right. I didn't know how to fix the warnings it was giving. When I have more time maybe I'll take another crack at it.

    Thanks again!

    all best,
    Denise

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.