WordPress.org

Forums

WP-Ban
[resolved] Ban only one page (14 posts)

  1. vyruz85
    Member
    Posted 10 months ago #

    Hi !

    Is it possible to ban some IPs from only one page on the website.

    For example I don't want to ban some IPs from the whole website (www.my-website.org) but only from one particular page (www.my-website.org/news).

    Thank you in advance for your answer !

    https://wordpress.org/plugins/wp-ban/

  2. Lester Chan
    Member
    Plugin Author

    Posted 10 months ago #

    Sorry that is not possible with the plugin.

  3. Ajaypalbhoreriya
    Member
    Posted 10 months ago #

    I think you should use this plugin. This is better for this kind of problem.
    https://wordpress.org/plugins/wp-ban-manager/

    From
    White Digital Web
    http://www.whitedigitalweb.com

  4. Joost
    Member
    Posted 10 months ago #

    That's not possible with my plugin (wp-ban-manager) either. Sorry!

  5. zephyrhillblog
    Member
    Posted 7 months ago #

    With the WP Ban plugin, it's only blocking an IP from accessing my blog home page (my friend tested it for me). However, she is able to click on blog posts. How can I block and IP from ALL pages on my domain?

  6. Joost
    Member
    Posted 7 months ago #

    The plugin does not even do that. It only bans commenting from an IP or username, it never blocks people from entirely seeing your site.

  7. zephyrhillblog
    Member
    Posted 7 months ago #

    It actually did block her from seeing my site when she tried to access the home page alone.

    The plugin page doesn't say anything about only blocking comments, so now I'm confused!

    Here is what it says:
    "Ban users by IP, IP Range, host name, user agent and referrer url from VISITING your WordPress's blog."
    https://wordpress.org/plugins/wp-ban/

  8. Joost
    Member
    Posted 7 months ago #

    Ah, sorry. Got a message and thought it was about my plugin: https://wordpress.org/plugins/wp-ban-manager/ :-)

  9. zephyrhillblog
    Member
    Posted 7 months ago #

    No worries! In fact, I'm going to check out your plugin, because the initial problem I actually was trying to address was blocking someone from commenting. :-)

  10. zephyrhillblog
    Member
    Posted 7 months ago #

    Just installed your plugin and trying it out now. In your plugin settings, it looks like there's supposed to be a drop down for "Ban Type" but no options drop down.

  11. Lester Chan
    Member
    Plugin Author

    Posted 7 months ago #

    @zephyrhillblog: this plugin blocks user from accessing your site. Not just commenting but the whole site.

  12. zephyrhillblog
    Member
    Posted 7 months ago #

    That's what I thought, too, but I banned my friend and she did a test and it only blocked her from my home page. She clicked on a blog post and was able to access it.

  13. Lester Chan
    Member
    Plugin Author

    Posted 7 months ago #

    Is she using a caching plugin or something? Because I just tried on my dev install and I can't reproduce the problem. See the screenshot: http://i.imgur.com/gXAyUtf.png

  14. zephyrhillblog
    Member
    Posted 7 months ago #

    No caching plugin. Not sure why the ban didn't work for her.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.