WordPress.org

Ready to get started?Download WordPress

Forums

Disable WP Admin Bar Removal
[resolved] [Plugin: Admin Bar Removal completely disable] .htaccess File Included with Download (8 posts)

  1. MickeyRoush
    Member
    Posted 2 years ago #

    First thank you for your work on this plugin.

    I noticed that it comes with an .htaccess file with the following contents:

    <Files .htaccess>
    Order Allow,Deny
    Deny From All
    </Files>
    <Files readme.txt>
    Order Allow,Deny
    Deny From All
    </Files>
    <Files gpl-2.0.txt>
    Order Allow,Deny
    Deny From All
    </Files>
    DirectoryIndex index.html
    IndexIgnore *
    Options -Indexes

    Is there a reason that you just didn't put this in there?

    Deny from all

    It does the same thing as all you're trying to do is prevent any HTTP access to the directory. It would be just as good and a lot quicker. Those rules just seem redundant to me. Sorry, that's just my two cents.

    http://wordpress.org/extend/plugins/wp-admin-bar-removal/

  2. sLa NGjI's
    Member
    Plugin Author

    Posted 2 years ago #

    Is there a reason that you just didn't put this in there?

    ... umh!

    1: no (new version of .htaccess is implemented on new DEVELOPMENT RELEASE but yhe actual code is not removed, just add only the directive Deny from all)

    2 - yes (this code on index.html: <meta http-equiv='refresh' content='0;url=about:blank'>

    Bye ;)

  3. MickeyRoush
    Member
    Posted 2 years ago #

    Thanks!

  4. MickeyRoush
    Member
    Posted 2 years ago #

    Oh, this may be a bit more secure and faster.

    Order Allow,Deny
    <FilesMatch "^index\.html$">
    Allow from all
    </FilesMatch>

  5. sLa NGjI's
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah! :) Thanks for the suggestions ;)

    Anyone with concrete suggestions for improving the plugin is always welcome.

    P.S. If you want to include your complete code for the file. htaccess, i can see to test and apply to the development release.

    P.P.S. Ricoda che il codice deve lavorare con qualsiasi tipo di piattaforma su cui wordpress potrebbe essere installato, la maggioranza degli hosting: free, shared, vps, dedicated, linux, windows, php, asp.

    Bye!

  6. MickeyRoush
    Member
    Posted 2 years ago #

    Yes, you can use it and test. I add similar rules to all plugins that I use. Yours doesn't have too many files, so it can be made simple.

    Thanks again!

  7. sLa NGjI's
    Member
    Plugin Author

    Posted 2 years ago #

    Please MickeyRoush ;) indicate here, or send me, your personal best and simple code for .htaccess to add on Admin Bar Removal future DEVELOPMENT VERSION :)

    Bye!

  8. sLa NGjI's
    Member
    Plugin Author

    Posted 2 years ago #

    Suggestion DEPRECATED!
    Topic Closed :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic