automatic redirection script for old pages?

nuflo

Novice

Posts: 18

Loc: new york

3+ Months Ago

hey all. anybody know of a script that i could put on the top of old pages to automatically open up my index page so old search engine links don't lead people to pages that have old dead links and missing images files? i don't want to delete them becuase the search engines have already crawled them and they come up in searched, i just want those pages to automatically revert to the index page. does such a think exist? and or is this wise?
thanks for any advice people of ozzu land!!
peace
ian

Replace Google with your url of course, I just use it for examples and testing becouse it loads faster than just about anything.

I know, I tend to take all the fun out of things

musik

Legend

Posts: 6891

Loc: up a tree

3+ Months Ago

oh lol fair enough

Vaclav

Born

Posts: 2

3+ Months Ago

In fact you do not need script, a meta will do:
<meta http-equiv="refresh" content="10;url=http://www.new.com">
Leave 10 secs for the redirect, otherwise search engines may spot this as a cloaking technique.

Best way is to use server redirect: 301 Moved Permanently.

nuflo

Novice

Posts: 18

Loc: new york

3+ Months Ago

you guys rock.
peace
ian@nuflo

LordArnell

Newbie

Posts: 13

Loc: UK

3+ Months Ago

I personally have used a javascript much as the same as above especially when a group was referencing a file on my site that I had renamed and had to create some new pages just the redirection. I would leave these pages about a month or two and then remove since most search engines rescan your site every month.