Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- Javascript redirect vs. 404 errors?
mememax - 11:59 pm on Dec 11, 2011 (gmt 0)
I agree with g1smd, although your CMS doesn't allow 301 redirects (quite strange), I suppose you're considering only php redirects.
There are 3 level where you can act:
htaccess: I doubt your CMS doesn't allow you to insert 301 redirects here, you can modify your htaccess and redirect all 404, with massive rules or one by one
server-side: I suppose this is what you where saying: the CMS doesn't allow you to modify the php to make 301 redirects. It's quite strange you can't modify your 404 php file. Let's see. you write an url--> php checks --> 404 not found. Well you can insert a query just before the 404. Create a table with your lost url, then with php you can check just before giving a 404: "is the uri one of those listed in the table?" if yes you can redirect to another one (the second url in the table), if not then 404
client-side: on this side you can help them in two ways: - javascript, as tedster said you don't have to make js redirects because google may think you're making a doorway page or something like that. I don't know if you can make a delayed script like you will be redirected in 5 seconds.
- proposing them an url. You can give a 404 error and with php propose them the new page. An error like "sorry this page has moved here [link]". Although this "may not" help you in your SEO efforts it may help your users. We always think about the bots but it's important to give to our users an help to avoid them bounce away.
I hope this could have helped in some ways!
Thread source:: http://www.webmasterworld.com/google/4396637.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com