There’s nothing wrong with my code. Maybe it was not refreshed instantly so the changes did not propagate right away.
Related Posts:
- Why does wordpress still strip my query var?
- Tricky URL rewrite with custom values in url
- Add a query string to ALL links on site
- Add rewrite rule for rewrite endpoint
- add_rewrite_rule not working for language specific characters
- How to add custom variable in url without redirect?
- How to building pretty URLs to reflect category hierarchy?
- Rewrite custom post type URL parameters
- Help with Rewrite Rule for Custom Post Type with Query String
- Change pagination url format
- Per Page Permalink Structure for Page Post Type
- Rewrite /category/cars into /topics/cars
- custom wordpress rewrite
- How to use wp rewrite to hide form action url?
- How do I rewrite URL that has custom parameter
- Pagination appearing twice in URL after rewrite
- URL Rewrite for CPT single posts
- Rename page URL
- WordPress post-type create url rewriting
- Using custom/dynamic “slug” for a page
- How do I remove a rewrite rule?
- add_rewrite_rule: $matches var not replaced by captured value
- Custom slug in front of search URL
- Display posts with author in the url with custom post types
- Clash of the rewrites
- Disable wordpress pagination URL rewrite for specific page
- How to use Post Custom Metadata in Post Titles and Post Permalinks
- rewrite_rule() not preserving the query string
- Mod_rewrite delete parameter in 301 Redirect
- add_rewrite_rule not working for page var
- Appending numbers to url do not break the link
- Custom rewrite rules are sending everything to index.php
- WordPress Network on IIS7/SQL Server – Rewrite Issues
- Custom comments
- Adding the amp url prefix to the beginning
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- WordPress 404 unless there is a space in url
- Add rewrite rule to call front-page.php?
- Migrating a page to be an article
- How to get “extended” path info from URL in a plugin
- Rewriting rules: difference between ‘init’, ‘rewrite_rules_array’, ‘generate_rewrite_rules’?
- Multiple Permalinks for Same Post
- How to perform a query at the URL?
- Is there a way to create alias without using htacess, permalinks or delving into code?
- Remove “/page/1” from the URL
- hard flush_rewrite_rules() not regenerating .htaccess
- Rewriting URLs in WordPress
- add_rewrite_rule() to route to file other than index.php
- Rewrite Rules Are Redirecting and Not Passing VARs
- WordPress rewrite rules don’t need ^?
- custom template rewrite
- add_rewrite_rule fro html to another url not working
- Custom rewrite not working
- WordPress redirects non-existing url to existing ones – how to disable
- How to rewrite url wordpress?
- How do I display only the parent page in the url
- A clean custom rewrite rule for weekly archives
- I want to add a new tag to WordPress URL permastruct
- Why is WordPress rewriting absolute URLs on staging site to include staging prefix when we manually point them at the live site?
- Rewrite the default post object’s permalink
- QSA Rewrite Rule
- Enpoint Not Found in Rewrite Tag Permalink
- Custom Rewrite Rules
- ReWrite rule for files of a previously standalone blog moved to network
- URL renaming issue
- Best way to trigger rewrite rules
- Trouble with question mark in rewrite rule
- show ALL latest posts with archive.php on example.com/latest
- What URL rewriting rule should I write to retrieve a var in the URL?
- Weird characters behind every single link and images
- Redirect URL to an existing page with query string or #! added on
- How do I make WordPress revise an .htaccess file a certain way?
- remove archive from url :: marketpress
- How to change an existing wordpress page rewrite rule?
- URL rewriting in wordpress using parameters
- Rewrite rules – page does not exist
- Custom route and extract data from slashes and parameter
- Allowing multiple URLs for same Post
- How to create dynamic URLs on WordPress?
- Rewrite dynamic URLs as pretty URLs in WordPress functions.php (add_rewrite_rule) – what’s wrong with my code?
- Rewrite rule not working, suspect redirect string
- WordPress Rewrite Rule to EITHER Match 1 or 2 Taxonomies when adding to URL
- a way to support totally different url structure
- Blog List Page 404 With Custom Post Type Rewriting to Blog Parent
- Custom taxonomy Rewrite Rule
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- I want to add one extra field to my URLs, I’m using Rewrite functions but it doesn’t work
- Font Page overrides rewrites
- rewrite rules social share links
- add_rewrite_rule is not fired
- rewrite rule for home/index page
- Additional .htaccess rules based on wp page
- URL Rewriting in WordPress
- Rewrite URL variable to custom path
- How to exclude my home page from url of my internal pages?
- Lost WordPress website access after changing URL [closed]
- Rewrite Page Parameters
- Rewrite rule to simulate page hierarchy results in 404
- add_rewrite_rule not working with custom variables
- add_rewrite_rule doesn’t work when trying to add a new parameter at the end of URL