Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Solving Duplicate Content with Distinct URLs Issue in ASP.NET MVC

AddThis Social Bookmark Button
    Introduction:

          When developing a web application, it is very important to optimize your application for search engines because a huge amount of traffic to website comes from search engines. ASP.NET MVC 3 support some Search Engine Optimization(SEO) features like friendly URLs, permanent redirect, etc. Friendly URLs is generated by a routing system in ASP.NET MVC 3. But in this routing system, multiple distinct URLs can point to a single action method, which result in duplicate content.  In this article, I will show you this(duplicate content) issue and then I will show you how to solve this issue.        Description:             For SEO, it is important
that every URL has its own unique and original content. So, we need to make sure that every single URL has its own unique content. But this is not the case with default ASP.NET MVC 3 application. The HomeController.Index action method of a new ASP.NET MVC 3 application can be pointed out by many distinct URLs. Some of them include,           http://abc.com (Default one)
          http://abc.com/ (Trailing Slash)
          http://abc.com/Home (With Controller)
          http://abc.com/Home/Action (With Controller and Action)
          http://abc.com/home/Action (Different Case)
          and so on             This shows that an action method in ASP.NET MVC 3 can be pointed by many distinct URLs which is very bad for SEO perspective. One way to solve...(Read whole news on source site)

Home : Blog List : Imran Baloch's Blog : Solving Duplicate Content with Distinct URLs Issue in ASP.NET MVC