Which is the Best WordPress Permalink Structure??
To start off you need to understand which suits your blog the best!
This is what the WordPress developers have to say about the Permalink structure performance. Anyways you can always decide what you want and set it accordingly.
These are the primary variables that can be used in setting up the Permalink structure:
- %year%
- The year of the post, four digits, for example 2004
- %monthnum%
- Month of the year, for example 05
- %day%
- Day of the month, for example 28
- %hour%
- Hour of the day, for example 15
- %minute%
- Minute of the hour, for example 43
- %second%
- Second of the minute, for example 33
- %postname%
- A sanitized version of the title of the post (post slug field on Edit Post/Page panel). So “This Is A Great Post!” becomes this-is-a-great-post in the URI. Starting Permalinks with %postname% is strongly not recommended for performance reasons..
- %post_id%
- The unique ID # of the post, for example 423
- %category%
- A sanitized version of the category name (category slug field on New/Edit Category panel). Nested sub-categories appear as nested directories in the URI. Starting Permalinks with %category% is strongly not recommended for performance reasons.
- %tag%
- A sanitized version of the tag name (tag slug field on New/Edit Tag panel). Starting Permalinks with %tag% is strongly not recommended for performance reasons
- %author%
- A sanitized version of the author name. Starting Permalinks with %author% is strongly not recommended for performance reasons
1) If you have a blog with less categories and are very precise to your posts then you can try this:
/%category%/%postname%/
2) (My Favorite) If you just need the post name to be visible in the permalink then you can try this:
/%postname%/
3) How about this? The year and the post name together? Well I can’t think who can benefit from this but it’s an option that you can go for.
/%year%/%postname%/
or this
/%year%/%monthnum%/%day%/%postname%/
I guess these are some of the commonly used Permalink structure on the Web. So go for whichever suits your needs.
0 comments:
Post a Comment