Results 1 to 9 of 9
Thread: 404 page and search engine
-
12-26-2006, 07:28 AM #1Web Hosting Master
- Join Date
- Feb 2005
- Posts
- 1,079
404 page and search engine
Rather than giving the standard 404 I thought I'll filled up my 404 pages with content.
For example, I could do:
ErrorDocument 404 /index.php
However, how would search engine see it? Will search engine "know" that the page is really just a 404 page?
If so, how do I prevent search engine from knowing that?
How do wordpress permalink do it?
-
12-26-2006, 09:17 AM #2Texan at Heart
- Join Date
- Jul 2003
- Location
- Castle Pines, CO
- Posts
- 7,189
.htaccess Tutorial - Error Messages - it seems that is the correct way. The SEs should know it is a 404 error page because you have designated it as such.
I have had to useCode:<% Response.Status = 404 %>
-
12-26-2006, 10:22 AM #3Web Hosting Master
- Join Date
- Feb 2005
- Posts
- 1,079
What should I do so I get the same effect with ErrorDocument 404 but with search engine never knows that it is a 404 error.
-
12-26-2006, 10:53 AM #4Texan at Heart
- Join Date
- Jul 2003
- Location
- Castle Pines, CO
- Posts
- 7,189
From what I can remember - you want the search engines to know and understand the 404 error. Why wouldn't you?
-
12-26-2006, 03:32 PM #5Web Hosting Master
- Join Date
- Feb 2005
- Posts
- 1,079
Say I have 120 articles. If all 404 pages become excerpts of related articles, I would have millions of web page as oppose to only 120.
Maybe it'll have a slight advantage in searchengine war.
-
01-12-2007, 11:47 PM #6Junior Guru Wannabe
- Join Date
- Jan 2007
- Posts
- 30
can anyone say me wot will be the actual code in .htaccess.txt for displaying customized error pages
-
01-15-2007, 03:38 PM #7Junior Guru Wannabe
- Join Date
- Jan 2007
- Posts
- 31
Originally Posted by smilemakerCode:ErrorDocument 404 /YOUR 404 PAGE.html
Host In Us Web Hosting Services |www.hostinus.com
Premium Enterprise Shared Web Hosting
Less than 80 Customers per server!
Try us out! We want to earn your business
-
01-18-2007, 12:46 PM #8Newbie
- Join Date
- Apr 2005
- Posts
- 25
Originally Posted by hardjoko
To prevent it, you can send status HTTP/1.1 200 OK.
-
01-18-2007, 01:52 PM #9Big fan of RajiniKanth!!!
- Join Date
- Sep 2004
- Location
- Chennai , India
- Posts
- 4,632
robots.txt file would be able to restrict the searchengine activitiy in your site , this file would tell what to be indexed and what not to be.