Mobile app version of vmapp.org
Login or Join
Hamm4606531

: Should a canonical URL be search engine friendly? I'm using Drupal with search engine friendly URLs. The way Drupal works is that there's two ways to reference a node with SEF URLS switched

@Hamm4606531

Posted in: #CanonicalUrl #Drupal #Seo #Url

I'm using Drupal with search engine friendly URLs. The way Drupal works is that there's two ways to reference a node with SEF URLS switched on:


The SEF way, eg. example.com/blog/the-answer-to-life Via the node ID, eg. example.com/node/42

(The second form issues a 301 to the first.)

The first path can be changed quickly and easily, the second is fixed (for the lifetime of the site or node). I'm not suggesting it's a good idea for websites to change their paths on a regular basis, but it's something that might happen, so it occurred to me that I could use the second form as a canonical URL, and that would mean that the same page would be always correctly indexed, and would always retain its Page Rank etc.

Could folk help list the pros and cons of such an approach?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

3 Comments

Sorted by latest first Latest Oldest Best

 

@Sims2060225

You could also do what stackoverflow does, which is a hybrid approach:
example.com/questions/1234/question-name-slug

That way you've got a page that has the title in the url, but has a permanent piece of identifying info there as well (the question id). This way the title can be changed, and users arriving at the old URL can get redirected to the new one. In fact, you can put ANYTHING in the question title area after the question ID and arrive at a valid page. The page they serve points to the current url (including the current page title) as the canonical copy, but they don't redirect you.

This approach seems to be VERY SEO friendly, while still allowing article titles to change. It might be hard to implement in drupal though.

10% popularity Vote Up Vote Down


 

@Mendez628

Everything Bevan said is true.

Your best bet is to use 301 redirects from the old URL to the new one just like Drupal does with the note ID to the SEF url.

10% popularity Vote Up Vote Down


 

@Shanna517

My understanding is that words within the URL that match search terms are considered "good quality" matches.

I certainly see lots of matches based on URL when I go searching for technology specific answers involving Jargon.

By using the node id link instead of a content-based URL, I think you'll match less well, if only marginally. But, I have no references to back up my understanding.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme