Improve the SEO of an ASP.NET MVC Website

Improve the SEO of an ASP.NET MVC Website

ReviewCoreASPHosting.NET | Best and cheap ASP.NET MVC hosting.  Did you know that the default route of ASP.NET MVC will produce multiple URL’s that display the same content? And as I am sure you are aware, duplicate content can cause all sorts of SEO problems. In this post, I will show you three steps to prevent duplicate content with ASP.NET MVC 5. 1. Use attribute routing instead of the default route Attribute Routing is a new feature added to ASP.NET MVC 5 that allows you to manually define each route by placing an attribute on each action. Why use attribute routing? Create a new ASP.NET MVC 5 application, and you will find the following URL’s all show the home page: http://localhost http://localhost/home http://localhost/home/ Now I know, that it is unlikely that the search engine will discover the duplicate URL’s, but it is better to make sure only one can be accessed, and this can be done by using attribute routing. Also, in my experience I have found...
Read More