Hello, a new client has default.asp which redirect automatically to a shopping card-driven content area like this:
<% link="http://www.website.c.../mydefault.asp" %>
<% response.Redirect(link) %>
Is this SE-friendly way to redirect? If not, how does one implement an ASP version of 301 Redirect for the default page?
Thanks in advance,
Mitko / WebSage
Are you a Google Analytics enthusiast?
Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE!

www.CustomReportSharing.com
From the folks who brought you High Rankings!
More SEO Content
International SEM | Social Media | Search Friendly Design | SEO | Paid Search / PPC | Seminars | Forum Threads | Q&A | Copywriting | Keyword Research | Web Analytics / Conversions | Blogging | Dynamic Sites | Linking | SEO Services | Site Architecture | Search Engine Spam | Wrap-ups | Business Issues | HRA Questions | Online Courses
How To Implement 301 Redirect On An Asp Site
Started by
websage
, Feb 18 2004 07:46 PM
4 replies to this topic
#1
Posted 18 February 2004 - 07:46 PM
#2
Posted 18 February 2004 - 08:16 PM
Is this in IIS?
Because if it is you go: Internet Services Manager/<computer name>/<client website>
Then right click and: Properties/Home Directory
Then choose the radio button beside: A redirection to a URL
As far as I know
Ian
Because if it is you go: Internet Services Manager/<computer name>/<client website>
Then right click and: Properties/Home Directory
Then choose the radio button beside: A redirection to a URL
As far as I know
Ian
#3
Posted 18 February 2004 - 08:37 PM
Yes, IIS. Thanks, Ian, I will see what I can do with the management console (it is a hosted site, of course).
Here is a programmatic solution from WMF:
<%
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.newdomain.com/"
Response.End
%>
Here is a programmatic solution from WMF:
<%
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.newdomain.com/"
Response.End
%>
#4
Posted 18 February 2004 - 08:39 PM
Interesting. I run my own server so I just log in and click buttons - I never really have to do things programmatically. I expect that may change as I get more clients, however.
Thanks for the info
Thanks for the info
#5
Posted 19 February 2004 - 12:37 AM
Response.Redirect is a 100% server side redirect. Spiders have no problem following this, and I am not certain they can even tell what happened. Passing a 301 and location in the header works too. You should download webbug or use the header inspector in Firefox to see what each returns for a status code.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users








