Title: Block URL Access ?
Last modified: January 12, 2018

---

# Block URL Access ?

 *  Resolved [magicmiles](https://wordpress.org/support/users/magicmiles/)
 * (@magicmiles)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/)
 * I’d like to block access to this non-existent page.
 * I thought that if I entered these URLs into Options > Other Options > Immediately
   block IPs that access this URL:
 * /docs/u4rkjtg.php*
 * Shouldn’t this force WordFence to block access to any page that matches this 
   query ?
 * Hmmmm that’s not what’s happening. It’s still matching queries like these:
 * [https://tangotopics.com/docs/u4rkjtg.php?jtjd=reliance-industries-jamnagar](https://tangotopics.com/docs/u4rkjtg.php?jtjd=reliance-industries-jamnagar)
   
   [http://tangotopics.com/docs/u4rkjtg.php?jtjd=libra-career-october-2017](http://tangotopics.com/docs/u4rkjtg.php?jtjd=libra-career-october-2017)
   [https://tangotopics.com/docs/u4rkjtg.php?jtjd=give-me-jesus](https://tangotopics.com/docs/u4rkjtg.php?jtjd=give-me-jesus)
   [https://tangotopics.com/docs/u4rkjtg.php?jtjd=ppm-to-oz-calculator](https://tangotopics.com/docs/u4rkjtg.php?jtjd=ppm-to-oz-calculator)
 * How do I stop it ?
    -  This topic was modified 8 years, 4 months ago by [magicmiles](https://wordpress.org/support/users/magicmiles/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [bluebearmedia](https://wordpress.org/support/users/bluebearmedia/)
 * (@bluebearmedia)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9858634)
 * Have you tried using:
    /docs/u4rkjtg*
 * WF support can correct me if I’m wrong, but I don’t believe the URL blocking 
   abilities includes URL query parameters.
 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9865288)
 * Hi [@magicmiles](https://wordpress.org/support/users/magicmiles/)
    Wildcards 
   should be working fine with query strings in “Immediately block IPs that access
   these URLs”, I’ve visited the URLs you shared above and I got blocked immediately,
   did you manage to get it working?
 * Thanks.
 *  Thread Starter [magicmiles](https://wordpress.org/support/users/magicmiles/)
 * (@magicmiles)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9865402)
 * Yes, sort of, after a fashion. Sometimes it blocks the user and sometimes it 
   doesn’t.
 *  [bluebearmedia](https://wordpress.org/support/users/bluebearmedia/)
 * (@bluebearmedia)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9865566)
 * Good to know – thanks, Alaa!
 *  Thread Starter [magicmiles](https://wordpress.org/support/users/magicmiles/)
 * (@magicmiles)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9866475)
 * [See Issues](https://imgur.com/a/cQa9g) with WordFence not blocking visitors 
   that accessed banned URLs. 😉
 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9870705)
 * I see now, please try replacing `/dirictor*` with `/*dirictor*` and I believe
   it should work fine then.
 * Thanks.
 *  Thread Starter [magicmiles](https://wordpress.org/support/users/magicmiles/)
 * (@magicmiles)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9870725)
 * ummm….Wfalaa…ok, that takes care of one, but what about the rest of them that
   are sporadically working ? Because every item on that list the same thing is 
   happening. So should I add * to the beginning of each item ?
 * Reminder > [https://imgur.com/wlzufLu](https://imgur.com/wlzufLu)
 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9872659)
 * Yes, you will need to wrap the trigger word between two asterisks “*”, that means
   anything before and after this word will match and hence the request will be 
   blocked.
 * Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Block URL Access ?’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [block](https://wordpress.org/support/topic-tag/block/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 8 replies
 * 3 participants
 * Last reply from: [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/block-url-access/#post-9872659)
 * Status: resolved