Upgrade URL for SEO from mysite.com/dbtable_id/ to mysite.com/dbtable_id/article-title

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2009-03-21T10:03:42Z Indexed on 2010/06/09 6:12 UTC
Read the original article Hit count: 456

Filed under:

I have an existing journal website with the following url structure

http://mysite.com/dbtable_id/
(eg. http://mysite.com/89348/)

where 89348 is the primary key id of the journal article.

I want to add the title of the article to the url for SEO purposes like

http://mysite.com/dbtable_id/article-title
(eg. http://mysite.com/89348/hello-world)

I like this approach because I don't need to change the PHP code since it will still look up the article by dbtable_id. All I have to do is append url friendly titles to relevant links in template files and add one more rule to a .htaccess file.

Is there anything I should be concerned about? Am I following best practices? Will the possibility for mismatch between "dbtable_id" and "article-title" affect SEO?

© Stack Overflow or respective owner

Related posts about seo