admin管理员组文章数量:1334371
add_rewrite_rule('^blog/games/(a-z|z-a|most-recent|most-viewed)(/page/([0-9]{1,}))?\.html$', 'index.php?blog_category=game-guides&index_sort=$matches[1]&paged=$matches[3]', 'top');
after adding above rule I found 404 for below URL
http://localhost/blog/games/most-recent/page/2.html and http://localhost/blog/games/most-recent.html
also, I can find my rule in get_option( 'rewrite_rules' ). games is blog category
本文标签: rewrite rulesaddrewriterule not working for blog category page
版权声明:本文标题:rewrite rules - add_rewrite_rule not working for blog category page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742341961a2456782.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论