$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>categories - Redirect category archives to pages|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

categories - Redirect category archives to pages

matteradmin11PV0评论

I'd prefer to not use the category pages of my WordPress install - my question is - does anyone see a "WordPress" contradiction or an error that might arise if I redirect "Category" pages to another page? Would I be doing something against the "integrity" of the WordPress architecture and/ or construction?

Thanks!

I'd prefer to not use the category pages of my WordPress install - my question is - does anyone see a "WordPress" contradiction or an error that might arise if I redirect "Category" pages to another page? Would I be doing something against the "integrity" of the WordPress architecture and/ or construction?

Thanks!

Share Improve this question edited Jan 22, 2019 at 6:21 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Jan 22, 2019 at 1:52 HenryHenry 9831 gold badge8 silver badges31 bronze badges 3
  • If you're not going to use the category pages, why use categories at all? – Jacob Peattie Commented Jan 22, 2019 at 2:48
  • One may not want to show categories in the front-end, but systematically manage the content in the backend. By the way, this is kind one the use cases for a headless WordPress – Celso Bessa Commented Jan 22, 2019 at 3:28
  • @henry You can do the redirect, it's up to you... But you probably just need to customize the category pages, or change their permalink structures. – Sally CJ Commented Jan 22, 2019 at 3:34
Add a comment  | 

1 Answer 1

Reset to default 0

TL;DR: no contradiction, no error, no "sin" against the integrity.

WordPress is flexible enough that you may decide to use what is best for use case. Wanna get rid of a taxonomy or all taxonomies? Go for it. In fact, i think this is kinda one the use cases for a headless WordPress.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far