404 when using pagination in a category
You have any News page? Check your page list. I think that there have a page which is taking the same category slug.
You have any News page? Check your page list. I think that there have a page which is taking the same category slug.
Please note that if you have lessons that are in multiple chapters you will create duplicate content. If you want an easy way to connect these post types you can use a free plugin called Post Connector: http://wordpress.org/plugins/post-connector/
remove base slug from hierarchical custom post type
Rewrite rule for path of favicon.ico ( Add_rewrite_rule function possible ? )
Have you already flushed your WP_Rewrite rules? The easiest way to do that is just re-save your Permalink settings.
How to get list of taxonomy slugs ordered parents>childs?
rewrite taxonomy-{taxonomy}-{term}.php terms
I used the following functions to solve this problem. //This adds a custom query variable to the permalink function add_custom_query_var( $vars ){ $vars[] = “shop_name”; return $vars; } add_filter( ‘query_vars’, ‘add_custom_query_var’ ); function add_rewrite_rules($aRules) { $aNewRules = array(‘shop/([^/]+)/?$’ => ‘index.php?pagename=shop&shop_name=$matches[1]’); $aNewRules2 = array(‘shop/([^/]+)/gallery/?$’ => ‘index.php?post_type=gallery’); $aRules = $aNewRules + $aNewRules2 + $aRules; return $aRules; } … Read more
Solved. Nginx and WordPress were acting correctly. There was an error condition further down my request processing code.
Two points: Your rule isn’t particularly specific. For numeric matches you should be specific about it and specify a) digits and b) how many digits. Year would be ([0-9]{4}), month/day would be ([0-9]{1,2}). You can’t do it with one rule. Add three separate rules instead. add_rewrite_rule( ‘whats-on/([0-9]{4})/?$’, ‘index.php?page_id=71&event_year=$matches[1]’,’top’); add_rewrite_rule( ‘whats-on/([0-9]{4})/([0-9]{1,2})/?$’, ‘index.php?page_id=71&event_year=$matches[1]&event_month=$matches[2]’,’top’); add_rewrite_rule( ‘whats-on/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$’, ‘index.php?page_id=71&event_year=$matches[1]&event_month=$matches[2]&event_day=$matches[3]’,’top’);