Home   Web Hosting   Support   Contents   Search

Redirecting URL requests to a different Page

FAQ   Standard  Deluxe    Mammoth   Policies

How can I have a page automatically forward browsers to another page?

For example, I want everyone that hits page http://www.lofthouse.com/support/help/redirect-demo.html   to be forwarded automatically to http://www.absalom.com

There are a couple of ways you can do this. One is to put in a tag in the web page to tell the client to go to the new page.

Here is the code you should put on http://www.lofthouse.com/support/help/redirect-demo.html   to forward people automatically to http://www.absalom.com

<META HTTP-EQUIV="Refresh" CONTENT="2; URL="http://www.absalom.com">

<html> 
<head> 
<title>We moved!<title> 
<head> 
<body> 
Sorry! We have moved to 
<a href = "http://www.lofthouse.com">http://www.lofthouse.com<a> 
<body> 
<html> 

Another way to do this is by configuring a "Redirect" in your srm.conf or httpd.conf file. Basically this indicates that all requests for a URL on the server should be sent or "redirected" somewhere else. For example, you may want to add something like this to your srm.conf file:

Redirect /old /new
Redirect /index.html http://www.lofthouse.com/ 

 

FAQ   Standard  Deluxe    Mammoth   Policies

Credit Cards Accepted Here!
e-commerce enabled courtesy of CyberCash

LOFTHOUSE PUBLISHING
97 South Main Suite #254
Brigham City, Utah
For more information please contact: Sales@Lofthouse.com

Web hosting and software development at Lofthouse Publishing

Questions or Comments?

E-mail:
Name:
Comments: