Category Replacements

This system will replace category pages, which are currently very limited, with a regular WordPress page. This allows for the full power of Gutenberg.

To begin, create a new page and set this page (“Category Replacements“) as its parent. Next, update its slug with “replace-“, then the desired slug to replace. For example, the page at the URL /shop-cbd-full-spectrum/roll-on/for-pain/ would use the slug replace-for-pain. When placed underneath this parent page, it will be served instead of the original category page at that URL.

All URLs within this category are automatically redirected to the homepage to avoid duplicate content issues, as defined in .htaccess. The code for the replacement functionality is found in functions.php.

Existing Replacements