How to redirect to another page.

We're working in the Apache config file.

Just issue a Redirect statement withing a virtual host block (or other allowed location):

Code
Redirect /MyPages.html http://mynewwebsite.com/


If you want to tell the browser that the redirect is permanent, do this instead:

Code
Redirect permanent /MyPages.html http://mynewwebsite.com/


This tell the browser to store the redirect so that future requests by this browser to /MyPages.html will not hit the server. The browser will just go to the target site automatically.

Use second method for conserving traffic to your site.

Use the first method if you are counting click-thrus.



The Captian
Today they call you "crazy". Tomorrow they call you "ahead of your time."
Global Skywatch Learn about Chemtrails - You're breathing them now!
OnlyTheBestHerbs.com World-class supplements
Mercury Talk Why you are sick.
OneUp Domains Domains, Hosting, Email
1-800-358-4278 (U.S. & Canada)