|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Exclude text from Google indexation
Hello
on my site, i have secondary menu (it's only useful tool for users), which in include in all pages of this site (~30k pages) file size 12-15kb. that's why i want to exclude content of this file from google indexation. how can i do it ? this is separate file, which i include (php) in all files is there any code like in adsese is (<!-- google_ad_section_start(weight=ignore) -->) or may be other way? thank you P.s. can this file cause any problem for this site. if google check the same file in all pages. (page have ~50-80kb size and of course unique content, title, and description) |
|
#2
|
||||
|
||||
|
You should not worry if all the generic pages are of unique content. Google see a webpage as a whole, not as separate files because they see it from the client side.
By the way, you cannot exclude a file (which is part of a page) from Google's index. You can, however, exclude pages from Google bots. Refer to robots.txt if it interests you ![]() http://www.google.com/support/webmasters/bin/answer.py?answer=35303 |
|
#3
|
||||
|
||||
|
Quote:
yes, may be u are right, but in real, just now google keep in his index only 15-16k pages, and only 87 pages "Results 1 - 87 of about 15,500 from" is showing and all with supplemental mark. Quote:
in can do , if i include this file as javascript |
|
#4
|
||||
|
||||
|
Quote:
A robots.txt is easier to do and needs no maintenance as long as the index name stays the same. Keep it simple .Displeaser
__________________
Vi Veri Veniversum Vivus Vici. |
|
#5
|
|||
|
|||
|
Quote:
i'm sorry, can u explain how can i do it via robots.txt ? 1. Disallow: /included.php in robots.txt 2. template for all files is <?php include ("../path/included.php"); ?> so u think that in this case Gbot don't check this included.php file content ? i don't think so :-( |
|
#6
|
||||
|
||||
|
Last edited by displeaser : October 22nd, 2006 at 04:36 PM. Reason: spelling, grammer blah blah blah |
|
#7
|
|||
|
|||
|
Seems, that u don't understand me right, or don't know php
php is server side/ Gbot don't understand is this file included or no .. Gbot only check the last file (in this file u can include 10 other files, but Gbot see only content(text-images) from this files and even don't know in which folders are located this included files) IMO |
|
#8
|
||||
|
||||
|
Quote:
Google will not index the included.php file if you were to place the above specified robots.txt in your directory. However, Google will continue to index all your other pages (with the embedded included file). As what has been mentioned before, Google should not see any problems utilizing PHP includes (as this process is transparent to them). You might want to refer to the following video from Google regarding supplemental results: http://video.google.com/videoplay?docid=-3494613828170903728 More on supplemental results: http://www.google.com/support/webmasters/bin/answer.py?answer=34473&topic=8523 Hope it helps ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > Exclude text from Google indexation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|