Wow I feel like a huge newblet. This is incredibly simple. Just escape it with a \
.
"&feed=$matches[1]"
should be "&feed=\$matches[1]"
.
EASY.
Related Posts:
- remove “index.php” from permalinks
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- flexible rewrite ‘ramble’ URLs with WordPress
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- custom permalink/shortlink with base62 encoded post ID
- Getting back a permalink from custom url
- Multiple Taxonomy Items for Separate URLs
- WordPress keeps removing query var from the URL
- Using a template file for a specific custom URL
- a way to support totally different url structure
- Pretty Filter URL
- Add additional URL variations for a Post
- Need help with add_rewrite_rule
- How to get pretty URLs with add_query_arg in permalinks
- Creating custom permalink structure for languages
- Custom post type permalink endpoint
- How to add a custom URL placeholder to author archives?
- Update URL Snippet to Canonical Permalink URL
- “.#[random-char-string]” being inserted at end of URLs
- Pretty Permalinks
- Make post slug have priority over category slug
- How to create a permalink structure for posts in a specific category
- Remove subfolders from URL
- Custom Rewrite with Query vars
- Using two permalinks for one post
- Change the custom post type permalink
- Rewrite url / permalink for default archive – yearly / monthly
- Permalinks, Rewrites, Get Variables, Oh My!
- Change permalink for a single post entry
- Rewrite URL Parameter And Force ‘Pretty’ Permalink
- rewrite_rule for custom post type doesn’t affect get_permalink
- Add ‘articles’ prefix before blog posts url without affecting pagination
- When is it a good idea to build a permalink structure from scratch?
- WordPress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
- Call to a member function add_rule() on a non-object
- I need a custom permalink for my website
- How to reset canonical URLs / fix redirect loop
- Permalinks: Page Not Found
- Why is add_rewrite_endpoint incompatible with /%category%/%postname%/ permalink structure?
- Re-write specific custom post type category URL to go to another page
- Change blog segment of URL
- how to add rewrite rule to wordpress default post type
- Remove custom taxonomy base from URL
- Custom query var rewriting with only variable
- remove sub-category of Custom Post Type from permalink structure
- add_rewrite_rule not working for me
- Is a permastruct possible on pages?
- Using WP Rewrite, but just not “getting it”
- Rewrite rule for a query string
- Force wordpress to display page with same url structure as categories
- Share same Slug for a Custom Post Type and 2 Taxonomies
- How can i have a custom post type with more slugs for each post?
- Rewrite CPT permalinks and include WPML language
- Redirect Uploads Folder to Query Vars in WordPress
- URL rewriting: removing the site’s basename for a specific category
- Rewrite rule intended for CPTs gives 404 for pages
- Permalink structure between 2 custom post types and a taxonomy
- Create custom permalinks to show Custom Post Type’s relationship?
- Permalinks only for posts
- Custom rewrite rule ignored
- mod-rewrite exception? keep #hash in matching urls?
- wordpress how to replace url /bar with foo/bar for custom post type
- Remove parent page from url
- Exclude single page from permalink rule
- Bulk append URL (add word to slug)
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- How can I set up a secondary permalink structure?
- Rewrite rule not passing variable
- Access posts while mod_rewrite is broken
- How to Use metada Value in Url and is it possible? [duplicate]
- Safest way to create a custom permalink
- Creating an alternate path for a page
- rewrite based slug standar post wp
- Create different permalinks for same post
- remove SLASH on single_post but KEEP on categories and parent pages
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- Multiple URL rewrite rules and get every prams
- Extra url paths as variable
- WordPress Multisite ABSPATH and get_home_path() to check for htaccess or web.config file
- Passing parameter through permalink structure
- Redirect page to homepage, keeping URL
- Add slug to default post permalinks ONLY
- how to have same rewrite rules for 2 different post type?
- Permalink structure /page/page/cpt-post gives 404 with pagination
- rebuilding/ rewriting a url to make it SEO friendly
- How to change the URL using rewrite rule in wordpress
- What permastrusture tags are generated out of the box right after creating custom post types and taxonomies?
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- Rewrite posts url as they’re all children of a page
- Multiple Permalink Patterns for one page
- WordPress Pagination Custom Rewrite Rule for Pages
- How to change URL of my pages?
- rewrites and custom links in page need help with add_rewrite_rule
- Prevent guessing slug
- WordPress permalink still not working (error or not understood?)
- Custom Permalink Base
- WordPress custom permalinks, pages are now 404
- Include language variable in url
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- Standard Htaccess directives disappear by themselves