The rewrite is taking you back to the homepage with the Burger param but the url is being rewritten, so you aren’t seeing it.
You should be able to retrieve the value of Burger with get_query_var('Burger')
which will contain the value of $matches[1]
You can read more about get_query_var
in the codex
$burger = get_query_var( 'Burger');
// $burger will have the string "welldone" in it'
Related Posts:
- How to add custom rewrite rule to .htaccess?
- SEO Friendly URLs for my plugin categories
- Custom rewrite rules are sending everything to index.php
- WordPress keeps writing rewrite rules to .htaccess
- WordPress Rewrite
- Dynamic URL, not a physical page within the database
- Two “.htaccess” Files Located in Different Directories?
- Custom rewrite rule
- hard flush_rewrite_rules() not regenerating .htaccess
- Map alt domain to specific section of website w/o MU
- Rewrite rule to load images from production does nothing
- WordPress rewrite rules don’t need ^?
- NextGEN Gallery Lightbox – Social Share URL Redirect
- Url Rewriting a dynamic wordpress page
- Disable Pagination on Pages
- .htaccess rewrite
- Changed pagination URLS to use p= instead of paged=
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- WordPress keeps writing rewrite rules to .htaccess
- Customise particular RSS permalink
- RSS feed rewrite matching wrong rule
- Flush rewrite rules on option update with Settings API
- Rewrite specific action url
- How do I make WordPress revise an .htaccess file a certain way?
- Rewrite rule that wp-login.php?action=register is left alone
- Pretty URL via Rewrite
- Migration from old CMS to WordPress 301 redirection rules?
- Additional .htaccess rules based on wp page
- What is the proper way to use add_rewrite_rule to remove the (question mark)?
- Can’t get pretty permalinks to work without index.php
- Rewrite Page Parameters
- WP-Include rewrite directory
- Problem with add_rewrite_rule and pagination (paged and page query_vars)
- How to change default page slug?
- Need help with rewrite_rules_array
- Why does wordpress still strip my query var?
- When to call `add_rewrite_rule` for safety
- Hijacking the URL for filtering
- Rewrite rules goes away
- add_rewrite_rule again
- Rewrite Rule for Post “Subpage”, with pagination
- unexpected problem in url rewrite
- Need to make a php file inside theme accessible via url
- Rewrite loading custom template file but is_home() returns true, and there’s no 404
- Rewrite rule for admin-ajax.php
- Evaluating a external rewrite rule before internal wordpress rewrite rule
- Rewrite WordPress Custom URL
- WordPress rewrite rules for state and city
- add_rewrite_rule not working for language specific characters
- Add query string to url and display it as normal url part /folder/
- Is it possible to remove feeds from rewrites?
- Flush Rewrite Rules on init or rest_api_init?
- WordPress .htaccess – route other URLs to another app
- Rewrite URL – insert custom variables as a directory path
- How to properly rewrite url by custom var
- Can’t add external rewrites
- How to building pretty URLs to reflect category hierarchy?
- WordPress Rewrites – How can I pass a variable to Custom Post Type?
- Need to add rewrite rule that adds in additional information about the post to url
- add_rewrite_rule is redirecting instead of rewriting url
- Rewrite rules automatically for pages using specific template
- redirect post id to post full url
- Custom Rewrite rule to captured post (rewrite rule to rewrite rule)
- QSA Rewrite Rule
- Rewrites: .htaccess or wp_rewrite for bulk 301 changes?
- How to pass url as a parameter in a add_rewrite_rule
- Per Page Permalink Structure for Page Post Type
- Custom url rewriting
- Custom rewrite rule not working
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- How can I allow trailing slashes on some URLs without a redirect, but not on others?
- Can’t use a specific custom URL (slug)?
- URL rewriting in wordpress using parameters
- Adding the amp url prefix to the beginning
- Rewrite rules – page does not exist
- WordPress rewrite front page url
- Rewrite Rules are Redirecting
- Translatepress taxonomy and custom post type root FIX
- How to redirect to a login virtual page?
- Multiple permalink with and without category for same post
- Custom Params in URL
- Issue with custom rewrite for products and permalinks
- Help adding custom url, rewrite_rules_array
- Broken page redirect
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- Add ReWrite from Old Pages to WordPress (remove .php)
- Use Parent Pages for URL Structure without Landing Page
- add_rewrite Rule
- Fully mask *all* traces of WordPress installation subdirectory?
- rewrite rule of post when accessed from archives pages
- Redirect A URL Pattern In WordPress Using .htaccess
- Rewrite rule is not working
- Rewrite Question
- How to make a custom route with any-string-part/number-part pointing to an existing page?
- Rename page URL
- Add rewrite endpoint and .htaccess
- 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
- Standard Regex syntax doesn’t work in WordPress rewrite rule