3
Shouts

.NET Technology from HimaBindu Vejella's Pen: Implementing 301 Redirects for ASP Sites at the Application Level.

published 1017 days, 2 hours, 25 minutes ago posted by himanethimanet 1017 days, 13 hours, 3 minutes ago
Tuesday, September 07, 2010 1:24:33 AM GMT Monday, September 06, 2010 2:47:14 PM GMT
The easiest way is doing it in IIS Level. But if you have shared hosting, where you do not have control on the Web Server and your hosting provider didn’t agree to do it, you have no option other than doing it at the application level. So you need to include the following code in all of your ASP pages <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location", "www.freemanortho/new-page.asp" %>

Whereas this will not work in FireFox and the following er...

category: Web Dev | clicked: 3 | | source: himabinduvejella.blogspot.com | show counter code
tags: 301 redirect, asp, SEO

No comments yet, be the first one to post comment.

To post your comment please login or signup