rewrite-rules
Fire a code when permalinks updated
I would like to execute some php code when permalinks updated, I think some plugins I’m using them updates permalinks programmatically sometime and this breaks my some slug rewrite settings, at this point I need to run code when permalinks updated. Is there any filter or event listener to make me able to this.
remove query arg from url after set query
i make migration plugin from specific script to wordpress, but i have a problem on redirect old urls to new one
Why wordpress rewrite my custom URL?
I am new in wordpress
There may a mapping question in my website
SEO Concerns With Rewrite Rules
I have a few rewrite rules that allow me to have specific URLs for search paremeters. For reference, they are:
WordPress rewrite rules don’t need ^?
For example this code
Custom permalink structure for custom post types including multiple taxonomy
The goal is to have a structure like this: example.com/tax_1/tax_2/post_name
How to create custom URL routes?
I have a very peculiar requirement, hopefully, I can explain it without being too confusing. I created a page template where I list some properties I get from an external XML file, so far no problems, let’s say the URL is like this:
Custom pages with plugin
I’m developing some plugin where I would like to enable custom pages. In my case some custom page would contain a form like contact form (not literally). When user will fill out this form and send it, there should be the next step which will require more information. Lets say that the first page with form would be located at www.domain.tld/custom-page/ and after successful form submission, the user should be redirected to www.domain.tld/custom-page/second. Template with HTML elements and PHP code should be also custom.
Need help with add_rewrite_rule
SOLUTION