WordPress permalink structure is perhaps the most debated issue be it in WordPress specific forums or on other blogs. Earlier at DailyBlogging I had kept the permalink structure to /%year%/%month%/%date%/%postname%. But after a week or two I changed that to /%category%/%postname%/.
The reasons were pretty logical for this change. First: I seldom used to post daily because there was hardly any use of posting tons of post everyday when there is no one to read them. So having a date specific permalink was nothing short of a blogging suicide.
Second: I liked the inclusion of the category slug as it provides another keyword in addition to the post slug. I used to the Dean’s permalink migration plugin to setup a 301 redirect from the old permalink structure to the new one.
Now I’m on the verge of launching another blog, this time though specifically to cover Android related news and updates. So while setting up the blog I was again put into a fix by this permalink structure thing.
The best WordPress permalink structure ?
To overcome this though scenario it was necessary to read what the experts are saying about an optimal WordPress permalink structure.
After going through some 4-5 posts from reputed SEO experts and bloggers I was left with 3 logical options.
- Combination of post-id and post name.
- Only post name.
- Category name with the post slug.
I know you would argue on the exclusion of the popular permalink structure [/%year%/%month%/%date%/%postname%/]. The counter argument is really simple i.e. that particular permalink structure would just make you posts URLs that bit longer.
Also if you don’t post in bulk (daily) then this strurture if of hardly any use. Moreover it makes your old posts look literally OLD.
So which permalink structure would you choose ? SEO and performance wise all the three are equally optimal (as you’ll find them in the below sections). Lets go into the details and see if we could come up with a definite pick.
Performance issues with permalinks
There is a lot of talk about not using the /%category%/%postname%/ permalink structure just because it causes some performance issues. I must say that, all such talks are ridiculous. It would’ve made sense if you were using a WordPress version below 3.3.
The problem with the inclusion of category in post URLs was that our database used to query between the category slugs and the main pages (as both as text fields). For example if your post URL was yourblogname.com/privacy/some-post-name/ then the database would initiate a query to find out if the slug privacy is a category name or a page.
In WordPress 3.3 this issue no longer remains a definitive problem as they’ve added some special parameters to differentiate between page slugs and category names.
Otto, one of the core contributors in the WordPress development team confirms it on his blog when he says:
In August 2011, thanks to highly valuable input from Andy Skelton which gave me a critical insight needed to make it work, and with Jon Cave and Mark Jaquith doing testing (read: breaking my patches over and over again), I was able to create a patch which fixed the problem (note: my final patch was slightly over-complicated, Jon Cave later patched it again to simplify some of the handling). This patch is now in WordPress 3.3.
Even if you feel there is a mild performance issue with certain permalink structures then install the W3 Total cache plugin and enable the Page cache feature.
The SEO factor
Now you would ask, why is the /%post_id%/%postname%/ permalink structure still used (so widely) on news breaking blogs & sites ? The simple answer is that, earlier Google’s algorithm demanded blog post URLs to have 3 numerics in it so as to feature them in Google News.
But now Google has provided an alternative in the form of News sitemaps to feature blogs & sites in their news section. The reason why popular blogs are not wiling to change the permalink structure now is because, some of them fear a temporary drop in search engine traffic.
So there is no SEO related issue with any of these permalink structures. If I was you I wouldn’t have chosen the /%post_id%/%postname%/ structure. What is the use of lengthening our post URLs when we know that a post-id provides nothing exceptional ?
A counter view on using the combination of category name & post name could be that, your posts are actually put inside a virtual directory (i.e. under the specific parent category) and then served. But again that is a popular myth as most search engines give equal priority to all the URLs present in your blog.
Matt Cutts view on WordPress permalink structures
Recommended articles on this topic
- Joost’s opinion on WordPress permalinks – Very nicely compiled article. He talks about the SEO benefits of various permalink structures and recommends the plain post name structure.
- AppThemes’ view – Another post which addresses mainly the performance issue.
So if I were to suggest a permalink structure then it would surely be one among-st, a plain post name [/%postname%/] or category slug with the post name [/%category%/%postname%/]. Notice the trailing slash.
Which permalink structure do you prefer on your blog(s) ?


{ 13 comments… read them below or add one }
Hi there Mani, I used to use /%category%/%postname%/ On all of my WordPress blogs for around two years by On my newest blog I have opted to use the /%postname%/ structure. I think it looks nicer like Matt said in the video. I really think it has anything to do with Seo.
nice article ….. i m using /%category%/%postname%/ permalink…is it good for seo
Twitter: AskKim
January 21, 2012 at 9:37 am
I tend to recommend only postname to bloggers who are starting out and still “feeling out the water” These are bloggers that are prone to change topic and categories later, something that is a BIG hassle to do if you use the category slug. However, for little micro niche sites, designed for SEO only, then category/postname is a stronger bet… for the reason you listed… its one more keyword in the URL.
Kim
Thanks for this useful post!! I’m using that post name structure
Nicely researched Mani… Getting these details right is what builds a strong foundation for a blog, especially regarding SEO.I set my blog as the /%postname%/ structure, both for elegance and readability, and, perhaps more importantly, to have absolute control of keywords in the URL. In each post, I edit the URL to suit whatever keyword or words I may be targeting.I don’t buy the argument that adding categories allows for an extra keyword – if you want that extra keyword, simply add it to the post name manually. The more unlimited you are, the better you can customize the URL to suit long tailed keywords.It’s not the only ranking factor of course, but it certainly makes a difference, and as Kim pointed out, changing categories becomes a headache if the slugs have categories in them too…
I only use year and postname for permalink. The year gives a little sense of the recency.
Twitter: denharsh
January 30, 2012 at 9:59 pm
Nice post…
I will always go for &postname% for normal blogs and if I intend to submit it to Google news, I will use Post id.
Twitter: technicallyeasy
February 1, 2012 at 7:39 pm
I use the year and month in my permalink, mainly because I converted from Blogger to WordPress. I have been thinking about changing over to just using the post name, but haven’t done so. There are some good plugins that make the switch easy as they will handle the redirect for me, so I may do so in the near future.
Nice post. I think /post-name/ is the best permalink structure.
I use Post name as the permalink structure. Really great SEO tip!
Twitter: ankit__kr
February 18, 2012 at 9:38 pm
@mani bro Google still need a three digt number to include article in Google news.
Source: http://support.google.com/news/publisher/bin/answer.py?hl=en&answer=68323
So the best Permalinks for your blog is :
/%category%/%postname%/%post_id%/ if targeted to Google news
Or
/%category%/%postname%/
Twitter: ankit__kr
February 18, 2012 at 9:42 pm
Sorry my mistake didn’t read full article.It is not necessary to include 3 digit numbers in your permalink but we have either make manually or install a plugin to make news sitemap.
Twitter: mani0993
February 19, 2012 at 7:13 pm
Yes, the third point clearly states the use of news sitemaps to avoid the 3-digit permalink rule. Since many of us already use Yoast’s WordPress SEO plugin the News sitemap gets added automatically.
{ 1 trackback }