468,544 Members | 1,738 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,544 developers. It's quick & easy.

404 and SEO

83
Hi All,

I have created a custom 404 page. I can now publixh URLs such as www.mydomain.com/England/MyHouse and then use code in the 404 page to interpret the URL, look up the parameters in the DB which relate to 'England' and 'MyHouse' and publish the relevant page.

This works great but it's very important that google picks up my link www.mydomain.com/England/MyHouse and indexes correctly.

So with SEO in mind should i...

1. Process everything within my custom 404 page
2. Only do the database lookup stuff in the 404 and then perform a server.transfer or server.execute

I've googled this subject a lot and it sems to suggest that (1) is preferable whereas (2) may cause some SEO issues ?

Do any of you experts have a view on this ? Any feedback would be greatly appreciated.

Thanks in advance.
Feb 13 '12 #1
2 1667
drhowarddrfine
7,435 Expert 4TB
A 404 page that redirects to a valid link is not a 404 page. A 404 page is not indexed as a valid link if you return it as 404.

iow, this doesn't make sense. This also doesn't have anything to do with ASP.
Feb 13 '12 #2
TimSki
83
ok thanks but i'm confused as to why u think this has nothing to do with ASP, it's an ASP site. I'm referring to articles such as this which seems to be fairly common practice http://forums.aspfree.com/code-bank-...sp-157948.html. My question is simple whether to redirect/transfer or keep everything within the 404 ?
Feb 13 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by William C. White | last post: by
2 posts views Thread by Albert Ahtenberg | last post: by
3 posts views Thread by James | last post: by
reply views Thread by Ollivier Robert | last post: by
1 post views Thread by Richard Galli | last post: by
4 posts views Thread by Albert Ahtenberg | last post: by
1 post views Thread by inderjit S Gabrie | last post: by
2 posts views Thread by Jack | last post: by
3 posts views Thread by Sandwick | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.