Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I will admit that my knowledge on SEO is not as far reaching as some of the more experianced people on StackOverFlow. However i do know that when it comes down to URLs generally the <em>'the shorter and readable the better'</em> rule applies. So using id's in a URL is a big setback and can have a negative impact on your SEO score by google or other search engines.</p> <p>You can read quite abit about it in the free SEO Starter Guide from google wich you can find on PDF here : <a href="http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/nl//webmasters/docs/search-engine-optimization-starter-guide.pdf" rel="nofollow">http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/nl//webmasters/docs/search-engine-optimization-starter-guide.pdf</a></p> <p>The section about URL's is on page 8 of this PDF.</p> <p>As for your application a way to avoid using ID's would be to use nicknames for your users. You will find this commonly used on forums all over the web. These nicknames always have a unique restriction making sure that there is always only one user with that very nickname. It also makes it possible for you to create restricions for these nicknames, for example prohibbiting the use of numbers in the nickname so people can't go about creating nicknames like <code>John123</code>.</p> <p>In the end you want to end up with a url like this :</p> <pre><code>http://www.example.com/users/uniquenickname </code></pre> <p>The same idea goes for using categories and tags.</p> <p>When it comes down to posts you have 2 options really depending on what you exactly mean by a post. If by post you simply mean a blog entry then you can simply use a combination of the category, user and title of the entry to create a unique url. </p> <p>For example : <code>http://www.example.com/category/uniquenickname/entrytitle</code></p> <p>If you ment posts as in comment made on a blog entry then using the URL you provided above will be fine but you might want to add in your robots.txt that the crawler is not allowed to index those urls. The reasoning behind this is that you tend to have spam bots going around blogs posting addvertisements and links to webpages you absolutely do not want to be associated with and you want to prevent the crawler to index these links wich can have a rather negative impact on your SEO score.</p> <p>I hope this helps :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload