Support » Plugin: 410 for WordPress » Wildcards

  • Resolved Stu


    After having a large site re-built that previously was not on WordPress, I’m finding it hard to specify wildcards for entire folders, and those that also have sub-folders. Is this possible?


    Can I get rid of /city_home/ and all of it’s content/sub-folder/content ???

    Thanks, this plugin is otherwise fantastic for Google Webmaster tools issues.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Samir Shah


    Hi Stu,

    Yes, this should work:*

    Just make sure you include the http:// portion. Also you need to make sure that the city_home directory doesn’t actually exist on your server.


    There still seems to be a small bug here, at least with WordPress 3.8 with v.0.8.3.

    Based on this support ticket, I created a wildcard like this a few days ago:*

    And I can see that it works.

    But then this showed up in the Recent 404 errors this morning:

    Even though, when I try that url manually, it is getting 410’ed correctly according to the wildcard above.

    Plugin Author Samir Shah


    The URL you tried will not match the rule because the rule has a slash before the *, and the URL you tested doesn’t. The reason it seems to work when you try it manually is probably because your browser has a cached redirect to the slashed version of the URL.

    If you want to match that URL, then you need to change the rule to:*

    Yes, I see that works now.

    Thank you for the clarification

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wildcards’ is closed to new replies.