Search code examples
seosemantic-markup

Permalinks vs pretty URLs


Let's say i have a simple blog engine. I've posted a simple post with URL

http://example.org/blog/awesomr-post

Few days later i've noticed the typo and fix my URL

http://example.org/blog/awesome-post

But search engines have already indexed "awesomr-post" and if somebody follow this link he'll get 404 error. There is the same issue with bookmarked pages.

So i think the post should be accepted by two links

http://example.org/blog/awesome-post

http://example.org/permalinks/1

Now i have to specify relationships somehow. What i can do

http://example.org/permalinks/1

<!DOCTYPE html>
<html>
<head>
  <link rel="canonical" href="http://example.org/blog/awesome-post">
</head>
<body>
  page content
</body>
</html>

http://example.org/blog/awesome-post

<!DOCTYPE html>
<html>
<head>
  <link rel="bookmark" href="http://example.org/permalinks/1">
</head>
<body>
  page content
</body>
</html>

Is it right solution? And should i use the canonical or permalink URL when linking from another site pages?


Solution

  • One of the way is to have 301 (permanent) redirect from http://example.org/blog/awesomr-post to http://example.org/blog/awesome-post