redirect

Ken Elliott's picture

They have: 358 posts

Joined: Jun 1999

Hello again,
I got a bit of a problem, I have to redirect a few urls to a new spot, I figured the meta redirect tag would work fine since it was supported since the early browsersaurs. But I found that it doesn't work in IE 5+ and probably every IE browser before that. So I went on to try using perl/cgi, only to find that my webserver doesn't use index.cgi as a default page, or default.cgi btw. So i figured I'd try .htaccess but I can't find a clear explination on how to implement it. I figure there is a simple format for .htaccess running under apache on unix so if someone could point me in the right direction that would be great.

btw I need find out the entire structure since I haven't worked with .htaccess in ages.

Thanks again everyone! You people RULE!

Pimpin like a pimp with an electrofied pimpin machine!

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Ken, try using the ReDirect in your htaccess file. It is something like this:
Redirect /directory http://www.yourothersite.com

Here is some more info.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Ken Elliott's picture

They have: 358 posts

Joined: Jun 1999

Is that the only thing that will be in the .htaccess file? Or is there like header stuff I must put in there?

Do I just create a text file called .htaccess
and put this code

Redirect /transfer http://www.thisplace.com

and upload it to the transfer folder?

Sorry to be so lame, but I'm a bit high and can't really add 2 and 2 together.

Thanks man.

Pimpin like a pimp with an electrofied pimpin machine!

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Yep, pretty much the same commands will work in htaccess.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.