Implemented Idea

SEO friendly URL rewrite with slug for articles

By Amit Choudhary May 26 2015
2
0
Currently the Articles URL is being displayed like: http://www.c-sharpcorner.com/UploadFile/8ef97c/full-C-Sharp-6-0-in-single-article-on-visual-studio-2015-preview/ While it could be rewrite to: http://www.c-sharpcorner.com/Article/8ef97c/full-C-Sharp-6-0-in-single-article-on-visual-studio-2015-preview/ Here in this case 8ef97c would be unique article number and next "/full-C-Sharp-6-0-in-single-article-on-visual-studio-2015-preview/" would be slug for SEO. so both shape would be working for URL http://www.c-sharpcorner.com/Article/8ef97c/ or http://www.c-sharpcorner.com/Article/8ef97c/full-C-Sharp-6-0-in-single-article-on-visual-studio-2015-preview/ Caution: The article text (slug) should be fetched and matched from DB otherwise this could lead to spam and un-realistic content. E.g. http://www.c-sharpcorner.com/Article/8ef97c/Jhon-Doe-Found-Dead/ This should be validated and slug must be removed. Reference - http://stackoverflow.com/questions/25259/how-does-stack-overflow-generate-its-seo-friendly-urls

Supporters ()

Opponents ()

comments