• Resolved MickeyRoush

    (@mickeyroush)


    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.

    https://www.ads-software.com/extend/plugins/wp-admin-bar-removal/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor slangji

    (@slangji)

    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 ??

    Thread Starter MickeyRoush

    (@mickeyroush)

    Thanks!

    Thread Starter MickeyRoush

    (@mickeyroush)

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

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

    Plugin Contributor slangji

    (@slangji)

    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!

    Thread Starter MickeyRoush

    (@mickeyroush)

    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!

    Plugin Contributor slangji

    (@slangji)

    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!

    Plugin Contributor slangji

    (@slangji)

    Suggestion DEPRECATED!
    Topic Closed ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Admin Bar Removal completely disable] .htaccess File Included with Download’ is closed to new replies.