Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a URL redirect www.website.com/johndoe

Status
Not open for further replies.

gavray

Programmer
Jul 17, 2000
65
GB
Hi,

I've seen it done many times, where if you want to give someone a simple URL to take them to specific page of a person or band.

at the moment I'm creating a folder in the default directory called Johndoe. Now inside that folder I've got a redirect script as follows -

<%response.buffer=true%>
<%
response.redirect &quot;%>

I name this file default.asp and put it in the johndoe folder.

This should in theory redirect the user to that script, but when your coming fresh to that url it redirects to the default page of the site.

does anyone have any other methods or ideas.

Many thanks,

gav

the boho from soho
 
Not sure if its what you mean but in default,asp or index.asp put the redirect? faling that just use meta tags to redirect you

ie:

<meta http-equiv=Refresh content=&quot;1; URL=yoururl.asp&quot;>

this will redirect in 1 second if its 10 then 10 seconds

ooooooooooooooooooooooooh bugger.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top