Forum Moderators: mack

Message Too Old, No Replies

Redirecting

         

celestial

4:24 pm on Aug 29, 2005 (gmt 0)

10+ Year Member



how do I redirect a person going to say
[domain.com...]
to
[folder.domain.com...]
I used to use [domain.com...] but now everyone still goes there!
for example, if I have
[domain.com...]
how do I make it [folder.domain.com...]

thanks for the help! :)

JAB Creations

7:21 pm on Aug 31, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are a few ways, I'll show you two, clientside meta tags and apache serverside.

Clientside metatag (in the header of the page...requires you to have a page at the first location).

<meta http-equiv="Refresh" content="2;url=http://www.example.com>

That will redirect to example.com after 2 seconds.

With Apache you DO NOT need the initial file ...just some redirect code in your .htaccess file.

Redirect permanent /redirectme1.html http://www.example.com
Redirect permanent /redirectme2.html http://www.example.com