It’s not understandable for me, but the second definition works now. No idea, why it didn’t work before, but I guess, somewhere I made a small mistake. Sorry, for my useless post 😉
Related Posts:
- Custom rewrite_rules – only pass numbers and not alphabetic characters
- rewrite rules and querystring
- add_rewrite_rule not working for page var
- WordPress URL rewrite regex
- Rewrite Rule for Custom Page with Query Vars in URL
- WordPress rewrite rules for state and city
- Remove all categories from URL
- Rewrite of URL with ‘[‘ ‘]’ or ‘(‘ ‘)’ as literals
- How to properly rewrite url by custom var
- optimize wordpress rewrite rule regex
- Rewrite query string to path
- Integer based rewrite isn’t recognized for value of 1
- How can I reduce the number of rewrite rules?
- How to redirect Webp files?
- Add pagination to a template loaded by query variable
- Query vars to return the homepage
- add_rewrite_rule with optional parameters
- Rewrite rule regex help required
- Rewrite query var on postname
- Redirect if string found in URL
- Standard Regex syntax doesn’t work in WordPress rewrite rule
- How to combine nearly identical custom rewrite rules for WordPress
- Unique URL Every Time
- Rewrite default post type
- Rewrite Rules for Multiple (more than 2) Taxonomies
- Using plus (+) sign instead of space (-) in WordPress URL
- Google is indexing wordpress attachment pages
- SEO Friendly URLs for my plugin categories
- How to create a specific frontend URL (not a Page) from a theme or plugin?
- WordPress keeps writing rewrite rules to .htaccess
- page is not redirecting
- Combine Multiple Categories Into One URL Slug
- Multilingual theme: Changing locale based on URL
- Custom rewrite rule for backend/admin?
- Author Profile URL
- change default ‘post’ slug with register_post_type_args
- Add specific word to default page permalink
- Permalink Rewrite for Custom Taxonomy
- Removing “category” from URLs then “add_endpoint()” won’t work…
- Is it possible to generate an alternate structure for multi-tag urls?
- Use single-site install and map entities to subdomains
- Rewrite rule to load images from production does nothing
- Custom query_vars and parse_request on wp-admin
- WordPress SSL (https) is not working with custom permalink
- How do I change attachment slug from name to id
- NextGEN Gallery Lightbox – Social Share URL Redirect
- WordPress .htaccess blocks mine?
- My WP_options db rewrite_rules Does Not Work
- Rewrite Preview URL to include index.php
- How to disable URL rewriting for specific URLs?
- How to create rewrite endpoints it in author.php?
- Rewrite custom post type URL parameters
- How do I only allow downloads that are referred from my domain?
- URL Rewrite and add_query_var not working
- How to redirect a link to a new link?
- How to add custom rewrite rules and point to specific templates
- How to change custom post type slug
- ow to change cutsom page url of wordpress site using htaccess
- Retrieve query var within functions.php
- rewrite rule generated with mpdf to a shorter version
- Name page template properly
- Show Mysql table elements as pages in WordPress
- One off rewrite for single post-type slug (show normal page with same URL instead)
- WP redirect rule doesn’t work
- URL rewrite in theme doesn’t seem to be working
- .htm re-write is adding an ending / to my URL bar
- database not responding on localhost
- Rewrite rule that wp-login.php?action=register is left alone
- Trying to add array of paths to post permalink
- How to rewrite URL back to default custom URL if no destination found
- How to allow WordPress to recognize a custom URL segment after a product URL and use a custom template?
- Append a parametter at first or last to a certain URL
- Creating a custom rewrite for a single page
- How to add logged in username after WordPress URL?
- Dynamic URL with rewrite rule not working
- How to get relative page for every post: /post-1/contact. /post-2/contact
- History API & URL for single long page
- WordPress Rewrite Rule to EITHER Match 1 or 2 Taxonomies when adding to URL
- How to add rewrite rule for product compare page?
- Is it possible to rewrite a page URL from ID to name from an API?
- Dynamic URL Rewrite rule
- Root-relative paths being rewritten on ‘Edit Page’ [closed]
- Rewrite Rule added but showing 404 rather than specified page
- Url wordpress rewrite
- Get parameters and custom page template
- Custom URL segment parameters for posts
- Direct Dynamic URL in root to a location within template
- Worpress url parse
- rewrite rules social share links
- add_rewrite_rule is not fired
- WordPress Landing Page Redirection Issue
- Get content from other database table based on an ID and rewrite URL
- WordPress Custom Rewrite Rule
- URL Redirect in WordPress
- WordPress total posts per page changed and now 404 Http error comes out [closed]
- How to exclude my home page from url of my internal pages?
- How to create User friendly URL in WordPress?
- Programmatically add a custom url route “/category/index.json” to return a collection of posts in json
- WP-Include rewrite directory
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?