C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Implemented
Idea
SEO friendly URL rewrite with slug for articles
Amit Choudhary
9y
10
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
Next Recommended Idea
forum page menu header should be fix ...
Submitted Ideas are not editable
(0)
Comments
View Previous Comments
of
Message