Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - redirect
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedredirect

 Post Reply Post Reply Page  <123>
Author
Jean View Drop Down
Newbie
Newbie


Joined: 07 May 2003
Location: United Kingdom
Status: Offline
Points: 14
Direct Link To This Post Posted: 27 May 2003 at 2:43am
server-side sounds a good option but I'm not sure where to start.  Any clues?
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Direct Link To This Post Posted: 27 May 2003 at 6:54am
<%
Response.Redirect "File2.asp"
%>
Back to Top
davelloyd View Drop Down
Newbie
Newbie


Joined: 17 June 2002
Location: United Kingdom
Status: Offline
Points: 23
Direct Link To This Post Posted: 27 May 2003 at 10:47am

As I understand this there is a page called bibwel.html with numerous links from other sites pointing to it so when someone uses an outside link they will be requesting the page bibwell.html

If you delete the page bibwel.html and replace it with bibwel.asp then when someone uses an outside link then they will get a  "404 page can't be found error"

If you put the asp code into the bibwel.html page to use the server side redirect it won't work because bibwel.html is not an active server page so all you will get is a blank screen and nothing will happen because the html page will just see the <%....%> as some unknown tag and ignore it.

Try this link and view the source code to see what I mean http://www.ringyding.net/redirect2.html

Back to Top
Jean View Drop Down
Newbie
Newbie


Joined: 07 May 2003
Location: United Kingdom
Status: Offline
Points: 14
Direct Link To This Post Posted: 28 May 2003 at 5:15am

Thanks for this.  Yes, I had wondered about the viability using this server side redirect for the reasons you say - ie. you can't use the code in an html page.  Therefore, I've opted for the simple solution now in use at www.rhs.ac.uk/bibwel.html

Thanks for all the advice.

Back to Top
davelloyd View Drop Down
Newbie
Newbie


Joined: 17 June 2002
Location: United Kingdom
Status: Offline
Points: 23
Direct Link To This Post Posted: 28 May 2003 at 12:57pm

No problem.

It works a treat.

Me, I just love the simple solutions

DL

Back to Top
Jean View Drop Down
Newbie
Newbie


Joined: 07 May 2003
Location: United Kingdom
Status: Offline
Points: 14
Direct Link To This Post Posted: 30 May 2003 at 8:11am
yep, you can't beat simplicity!
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Direct Link To This Post Posted: 10 June 2003 at 8:33am

I'm a bit slow on the reply here... anyways... Forget what everyone else says - make it sexy~!

Server-side still works better - file extensions etc. are irrelevant. Try one of these:

Method #1

1) Go into Internet Information Services
2) Expand the web site
3) Right click on the properties for the file you want redirection for
4) In the File tab select "A redirection to a URL"
5) Enter the URL in the "Redirect to:" input field.
6) Select "The exact URL entered above"
7) Click Apply

This will redirect for the one file that you want, and people's bookmarks will still work.

Method #2

1) Go into IIS
2) Right click on the web site and select Properties
3) Click the Home Directory tab
4) Click Configuration near the bottom
5) Click the App Mappings tab (selected by default)
6) Click Add
7) Browse to and select asp.dll (It should be in C:\WINNT\system32\inetsrv)
8) Click Open
9) Enter "html" (Or anything you want, e.g. bluefrog for "index.bluefrog")
10) Select the "Limit to:" and enter "GET, POST, HEAD, TRACE"
11) Check "Script engine" and "Check that file exists"
12) Click OK.

That will let you run *.html or *.htm or *.I_am_drop_dead_sexy_-_Look_at_my_sexy_body as *.asp files.

Abuse this knowledge in good health~! And just remember, Bluefrog has the original 110% pure sexy asp~!

Cheers

 

Back to Top
abhinav View Drop Down
Groupie
Groupie


Joined: 13 May 2003
Location: India
Status: Offline
Points: 63
Direct Link To This Post Posted: 19 June 2003 at 6:33am
Jean and others that method is not liked by search engines and your site could get banned because of that. Why you ask? because search engine comes looking for the text that was in that and then get redirects to another page which is not a visitor expects. Kind of spamming in terms of search engines even if your intention is not to.


Use a 301 server redirection instead Jean. Search and you'll find plenty of help how to do it.
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.