Clarification on Wildcard Use
-
Hi Jeff. Once again, fantastic plugin. In your FAQ you illustrate the use of a wildcard character in the permalink:
You can use limited wildcards in the permalink structure. For instance you can match the url https://www.jsterup.com/some/pretty/permalink/ by entering https://www.jsterup.com/some//permalink/. You can also match the url by entering https://www.jsterup.com//pretty/permalink/ as the permalink. The only character that is recognized is the * character. It can only replace one piece of the url in between the / characters.
I have one plugin that I’d like to disable when I’m editing any content – whether it’s a post, a page, a product, a plugin-organizer filter, etc. (This particular plugin is only useful only on the frontend.) My idea was to use a wildcard character in the permalink for any post editing page. For example:
https://www.mysite.com/wp-admin/post.php?post=*&action=edit would be used to match any post number (e.g. https://www.mysite.com/wp-admin/post.php?post=351084&action=edit)
(Ignore URL Arguments is turned off in settings).Unfortunately this doesn’t seem to work. Can you tell me what I’m doing wrong? Thanks again! Todd
P.S. I’d like to offer a suggestion but I’m not sure where to do that so I’ll do it here. Would it be possible to bypass the Ignore URL Arguments setting on a case-by-case basis in the Plugin Filters? Most of the time I do want to ignore them, but there are some circumstances where it would be useful NOT to.
- The topic ‘Clarification on Wildcard Use’ is closed to new replies.