Current thinking about Permalink usage?

Hi, What is the current best practice for setting Permalink structure? Is there any down side to setting a custom structure based on category i.e., .

  • idevguy

    Personally I prefer to focus on good readable links that properly convey the content, If you have a post about purple widgets it would be best to have the words purple widgets in your url.

    There has also been some talk about effeciency with WordPress as it pertains to permalinks, simply having a single level permalink such as or takes more "processing" to run than if you have it be and having a taxonomy or text "slug" for the url requires a lot of queries to process, here is a snippet from the WordPress Codex on the topic:

    For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text "page slug" as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties). So, it is best to have at least two path segments in your post's permalink structure such as /%year%/%post_name%/ or even /posts/%post_name/. (Some people recommend /%post_id%/%post_name%/ which works for performance reasons but others recommend against it because it is unfriendly to users in the many contexts in which users interact with URLs.)

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.