Time2Dine.co.nz is Online Restaurant Booking
 
Elusion Electronic Cigarette
 New Zealand Restaurants Forum
Restaurant Forum | Contact Time2Dine | Book Online & Save | About Time2Dine

Go Back   New Zealand Restaurants & Food Forum > Search Engine Optimisation > Google
Register

Reply
 
LinkBack Thread Tools
  #1  
Old 6th Dec 05, 12:56 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default ASP 301 redirects

per http://www.seoconsultants.com/tips/asp/301.asp

If you are utilizing .asp (Windows Active Server Pages) as the underlying technology of your Windows IIS hosted websites, there is a simple 301 permanent redirect method that you can utilize without involving a server administrator. This 301 method allows you to quickly implement a 301 Moved Permanently status from the old-page.asp to the new-page.asp. Here is how it works...

Take the old-page.asp that is being renamed or moved and remove all of the code. Place the below code in place of the old HTML/XHMTL.

Code:
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently" 
Response.AddHeader "Location", "http://www.seoconsultants.com/new-page.asp"
%>
ASP.net 301 redirects

Code:
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.seoconsultants.com/new-page.asp");
}
</script>
Reply With Quote
  #2  
Old 4th Aug 06, 01:25 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default isapi free equivalent

Just found a great little program that can be added to your windows server. It adds all the apache htaccess capabilities such as regular expressions, and RewriteCond.

ionicisapirewriter - ionic isapi rewriter - and the original page
Attached Files
File Type: zip IonicIsapiRewriter.zip (343.5 KB, 78 views)

Last edited by T2DMan; 12th Dec 06 at 12:15 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
301 redirects T2DMan Google 10 21st Oct 10 11:54 PM
non www to www 301 redirects T2DMan Google 6 29th May 10 06:38 AM
PHP or ASP BloodNinja3 Google 4 25th Apr 07 12:16 AM
index.php to root redirects T2DMan Google 0 1st Jun 06 11:37 AM



Powered by: vBulletin Copyright ©2000 -2012, Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2010 Time2Dine