Category Replacements

Pages underneath this parent are used to replace product pages of the same name. This is required until WordPress supports the Gutenberg editor on category pages.

The full path of the slug must be given, replacing slashes with hyphens. For example, the page at the URL /cbd-full-spectrum/roll-on/ should use the slug cbd-full-spectrum-roll-on. When placed underneath this parent page, it will be served instead of the original category page.

All URLs within this parent structure are automatically redirected to the homepage to avoid duplicate content issues. The code for this functionality is found within functions.php.