I have a simple plugin like the following add_action(‘generate_rewrite_rules’, function ($wp_rewrite) { $wp_rewrite->rules = xxx […]
Tag: rewrite-rules
Rewrites with hierarchical taxonomies in permalink
I am attempting to create a hierarchical list of products in WordPress 3.5.1. For example […]
Rewrite url for custom post type
I’m using WPML plugin to translate my site. I have a custom post type called […]
URL Rewrite and add_query_var not working
I know there are several topics about URL rewriting in WordPress but none of the […]
Pre-Populate $wp_query settings with custom rewrite rules and custom template_redirect
I’m currently working on a file browser plugin which requires frontend editing capabilities for a […]
htaccess problem not being able to overwrite previous rules
so guys, what i need to do is: whenever someone ask for this url: dev.site.com/noticias/id/tittle-for-the-news […]
How to change the matches in add_rewrite_rule
One of the examples using add_rewrite_rule function in wordpress is add_rewrite_rule(‘^nutrition/([^/]*)/([^/]*)/?’,’index.php?page_id=12&food=$matches[1]&variety=$matches[2]’,’top’); I can understand where […]
Rewrite custom post type url’s adding meta box values
I’ve got these custom post types (CPT) and meta boxes: Movies (CPT) Genre (Meta box) […]
Adding paged query to custom URL rewrite
I have set up the following to create ‘pretty’ post type and category permalinks: function […]
How to pass url as a parameter in a add_rewrite_rule
I am building a plugin which relies on passing the url as a GET parameter. […]
No More Posts Available.
No more pages to load.