Conversation
supportMaybe I don’t understand how it is expected to work, or maybe I need co configure something, but the style details link to <localhost>/beer-style/<style-name>/. Of course there’s nothing there, resulting in a 404. Is this WAI?
I believe one of the drawbacks of adding new Taxonomy is that it doesn’t seem to work right until you flush your site’s rewrite rules. The easiest way to do it is to go into your site’s Permalink settings (<yoursite.com>/wp-admin/options-permalink.php) and re-save whatever setting it’s already on. If you’re handy with the command line (and have access) you can use WP-CLI to do it too: https://wp-cli.org/commands/rewrite/flush/ Once you get it working you can do neat things like bring up a page with all your beers of a particular style, e.g.: https://www.fivebladesbrewing.com/beer-style/american-pale-ale/ This reply was modified 9 years, 3 months ago by Derek Springer .
Thanks, that sorted it.
I believe one of the drawbacks of adding new Taxonomy is that it doesn’t seem to work right until you flush your site’s rewrite rules. The easiest way to do it is to go into your site’s Permalink settings (<yoursite.com>/wp-admin/options-permalink.php) and re-save whatever setting it’s already on. If you’re handy with the command line (and have access) you can use WP-CLI to do it too: https://wp-cli.org/commands/rewrite/flush/ Once you get it working you can do neat things like bring up a page with all your beers of a particular style, e.g.: https://www.fivebladesbrewing.com/beer-style/american-pale-ale/ This reply was modified 9 years, 3 months ago by Derek Springer .
Thanks, that sorted it.