Is it possible to match site root with a WP rewrite rule? [closed]
Turns out I was being dumb. The rule is ‘$’
Turns out I was being dumb. The rule is ‘$’
add_rewrite_rule and passing variables for custom post types
Using a custom 410 page
You have a set of url patterns and matches (wp generate a number of url patters to satisfy user agents). once you request lets say domain.com/posts/2003/somestuff url, wp tring to find a pattern that match this url inside a rewrite_rules (array that stored in options table by option name rewrite_rules) once it found… its parsed … Read more
Help writing custom function with rewrite endpoint that generates a page from dynamic content
I am not sure why this happens, but you can stop all write access to your .htaccess with a simple filter: add_filter( ‘flush_rewrite_rules_hard’, ‘__return_false’ ); Neither WordPress nor any plugins calling flush_rewrite_rules() will write something into the file now. Other methods to access and change the file will still work, for example insert_with_markers().
WP Rewrite issue
You could try redirecting without a plugin, using the .htaccess file. This file can be found at wordpress root folder, if all you want to do is redirect this specific page, you could open and insert the following line (at the first line of the .htaccess) Redirect 301 /2014/02/20/events-2014/ http://www.example.com/2014/03/02/events-2014/
WordPress URL Rewrite for dynamic and customized URL
I did a quick little search on what you are trying to do and maybe this will help you out some and how the rewrite is grabbing the querystrings. https://stackoverflow.com/questions/3307352/wordpress-custom-url-rewrites