Sir
Can you please briefly explain the significance of using the postid in the permalinks, for instance,
http://www.labnol.org/internet/twitter-guide-do-everything-with-twitter/4916/
Thank you for your time.
shakuni
Sir
Can you please briefly explain the significance of using the postid in the permalinks, for instance,
http://www.labnol.org/internet/twitter-guide-do-everything-with-twitter/4916/
Thank you for your time.
shakuni
Including the Post id makes sure that every URL in a Site is unique.So even if the Post slugs for two Posts may be same (accidentally) the post ID takes care that The URL's are different.
ya, I know that. I mean, is that significant from SEO perspective?
Acording to my Knowledge The permalink /%category%/%postname%/%post_id%/ is good for seo as it:
1.Avoids dynamic numbers in URLS ( e.g the default permalink involves ?p=postid)
2.Contains keywords in URL's which is always good for SEO.Another advantage is that this structure has the advantage of being served as better anchor texts if somebody links to an article by pasting the link only.
3.No dates in URLS.Numbers do not provide any advantage from SEO perspective
4.Categories Structure the content.
Amit Agarwal is veteran and he certainly has a better explanation though.
Shakuni - My Permalink is something like this
labnol.org/%category%/%post-title%/%post-id%/
Google News requires that all permalinks must have a unique number.. tomorrow if I add more authors to Digital Inspiration and it becomes part of Google News, I won't have to rewrite any of the URLs.
Thanks for great resources.
One question about this permalink. I can access the same post by removing the postid: http://www.labnol.org/internet/twitter-guide-do-everything-with-twitter/
So if others link to your page by removing the postid, would this cause major duplicate content issue.
James
@james_h, I think, with the introduction(and implementation) of canonical tag, the internal duplicate content issues has been almost solved.
Hi, Thanks for pointing me in the right direction. I did a little research in canonical tag, it would prevent duplicate content issue by letting the webmaster to specify the primary URL.
In this example, can you explain how the webmaster can specify this URL as primary?
1. http://www.labnol.org/internet/twitter-guide-do-everything-with-twitter/4916/
and not this one: 2. http://www.labnol.org/internet/twitter-guide-do-everything-with-twitter/
Since the same post can be access using one of those URL, one of them need to be the primary but I'm not sure how to get it done in Wordpress.
Thanks.
James
Hi Guys you can get it in wordpress like this --- Just change u r permalink structure to /%category%/%postname%/%post_id%, with this duplicate permalink problem will be solved
digisteps,
I tried it out but it is not working, I set the permalink structure as /%category%/%postname%/%post_id% but I can still access the same post via both of the following URLs:
http://domain.com/category/post/id
and
http://domain.com/category/post
Here are the actual test URLs:
http://blinkq.com/uncategorized/hello
and
http://blinkq.com/uncategorized/hello/77
Would like to find the solution to this potential duplicate content issue.
Thank you.
James
Anyone can explain this? Thanks in advance.
James
@Amit Here is an article which says adding three digit numbers is not maintadatory now for Google news, but I am not sure.
The three digit no. need not to be added strictly at the end (http://www.google.com/support/forum/p/news/thread?tid=303cc7948e0dbf0c&hl=en), it can appear anywhere. I suggest to use it in the starting because WordPress documentation (http://codex.wordpress.org/Permalinks
) strongly recommends not to use text fields (like %category%) in the starting of permalink structure for performance reasons instead it suggests to use a numeric field in the beginning (like post-id).
You must log in to post.