Forum Moderators: coopster

Message Too Old, No Replies

Custom 404s

In php

         

huwnet

5:50 pm on Nov 20, 2005 (gmt 0)

10+ Year Member



I am considering making a custom 404 page in PHP saying the page <PAGEURL> cannot be found.....

Will Google and other search engines no it is a 404 or will the index every incorrect page and then punish me for duplicate content?

FalseDawn

5:53 pm on Nov 20, 2005 (gmt 0)

10+ Year Member



Search Engines should not hit your 404 page if your internal links are not broken.

If you are bothered, just add
<meta name="robots" content="noindex,nofollow">

to your 404 page.

huwnet

7:59 pm on Nov 20, 2005 (gmt 0)

10+ Year Member



Thanks

DeanC

9:26 pm on Nov 20, 2005 (gmt 0)

10+ Year Member



Return a 404 header too using PHP's header() function.

huwnet

4:20 pm on Nov 21, 2005 (gmt 0)

10+ Year Member



Stupid question but what is the 404 header?