We recommendAustraliaIndian.com  ,AlvarezPigeons.com  ,AttractionsToGo.com
 
9:42 AM EST.The ultimate source for Indian Resources in USA, Canada and UK.Sign In!
    Home
  U.S.A.
  UK
  Canada
  Software Links
  Vastu
  My Account
  About Us  

301 redirect from asp.net using database table

Category: Web Development > ASP.Net
Entry Date: 2/20/2012 1:56:51 PM
Duplicate urls are one of the most threatening issue for web masters regarding the search engine ranking. Also when moving the content to a different page, search engine will alarm for duplicate contents.

A single solution for all this issue is 301 redirect. But managing all this web pages is a tedious task. Recently I faced a similar issue and I decided to implement an easy solution using the database table. In my solution I am using the global.asax file to redirect the WebPages to the new location. Search engine will see 301 redirect status and crawl the new page.

Follow the following steps to implement the 301 redirection.

1: Create a database table to hold the old and the old and new web page address. Also since we need the enter web page address that is differ by upper case and lower case letters we need to create case sensitive column for [URLIn].



2. Insert all your new pages and old pages to the table



4.Create a stored procedure to check the redirect url. Also make sure that we are doing a case sensitive comparison


4. Update global.asax

5. Test the url.
Shiju Mathews
User Comments/reviews
SeIbdmxGKk Hussain Say's
Rating:  8/13/2012 11:49:26 PM


Add a New Comment/Review
Display Name
Email Address:
 
Title:
Comment/ Review/Posting
( 1012 Charectors maximum)
Rating:     ( 1- Not Recommended  5- Highly Recommended)


Related Blogs


CourtesyIndia.com
 Home | Visitor Agreements | Privacy PolicyFAQ

  Home
  U.S.A. Links
  UK Links
  Canada Links
  Software Links
  AirLine Tickets
  U.S.A. Links
  Churches
  Restaurants
  Associations
  Hindu Temples
  Grocery Stores
  Garment Stores
  Jewelry Stores
  Online Grocery
  UK Links
  Restaurants
  Grocery Stores
  Churches
  Canada Links
  Churches
  Restaurants
  Associations
  Grocery Stores
  Hindu Temples
  Jewelry Stores
  Garment stores
  Vastu
  Software Links
  Blogs
  Interview Center
  Tips and Tricks
  My Account
  Log In
  New Account
  Change Password
  Personal Profile
  Manage Resources
  About Us
  Site Map
  Contact Us
  Feed Back
  Add to Listing