seohttphandlerhttpmoduledynamic-urldynamic-links

SEO and hard links with dynamic URLs


With ASP.NET MVC (or using HttpHandlers) you can dynamically generate URLs, like the one in this question, which includes the title.

What happens if the title changes (for example, editing it) and there's a link pointing to the page from another site, or Google's Pagerank was calculated for that URL?

I guess it's all lost right? (The link points to nowhere and the pagerank calculated is lost)

If so, is there a way to avoid it?


Solution

  • I use the same system as is in place here, everything after the number in the URL is not used in the db query, then I 301 redirect anything else to be the title.

    In other words, if the title changed, then it would redirect to the correct place. I do it in PHP rather than htaccess as it's easier to manage more complex ideas.