How to fix problems with WordPress taxonomy permalinks - Digital Tool Factory blog How to fix problems with WordPress taxonomy permalinks - Digital Tool Factory blog

How to fix problems with WordPress taxonomy permalinks

The Problem

You are attempting to use WordPress taxonomies to create custom permalinks, and all you get are 404 errors.

To clarify, I was trying to use the taxonomies purely to maniplate custom page types and their permalinks, to create something like http://Domain.com/SummerCrops/Tomatos where SummerCrops is my custom taxonomy, and Tomatos is a page name

The Cause

WordPress is finicky about permalink syntax, specifically the difference between /%PostName%/ and /%PageName%/ – so for example a custom permalink structure of /%content%/%postname%/ would not work ,whereas  /%content%/%pagename%/ will.  Practically all online documentation refers to posts, not pages.

The Solution

Just use the custom permalink of /%content%/%pagename%/ and everything will be perfect.

 

Written By Steve French

 

Leave a Reply

Your email address will not be published. Required fields are marked *






Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.