Results 1 to 10 of 11
Thread: Prevent indexing a part of a page?
-
Prevent indexing a part of a page?
7 Jul 2010 @ 12.33 Is it possible to prevent the indexing of a portion of a page, like an announcement? If so, how best to achieve this?
Thanks.
-
7 Jul 2010 @ 13.06 This may help:
Tell Google to Not Index Certain Parts of Your Page ? Perishable Press
Not tested it though!
<p>This is normal (X)HTML content that will be indexed by Google.</p>
<!--googleoff: index-->
<p>This (X)HTML content will NOT be indexed by Google.</p>
<!--googleon: index>
-
7 Jul 2010 @ 13.21 Perfect - thank you.
-
-
7 Jul 2010 @ 13.32 Hmm, just read the whole article - apparently this applies to Google Search Appliance, rather than googlebot.
I'll try adding the announcement content after the main content and position it with css. Or perhaps create an image on the fly to replace the text. Whatever, I will have to turn announcements off till I can sort this.
-
7 Jul 2010 @ 13.37 nuts! lol
does Google read the content within iFrames?
If not you could put the announcements in a seperate page, set it for Google to not read the page with the announcements in, and then insert the announcements page into an iframe? Probably won't work, but thought I'd put it out there!
-
7 Jul 2010 @ 17.20 A much better solution would be to use PHP to detect a bot: Insane Visions - Bot Detection with PHP Tutorial :: Premium PHP Scripts - AdaptCMS, AdaptBB
(Just Google "PHP bot detection." There are a million tutorials)Last edited by CloudedVision; 7 Jul 2010 at @ 17.22.
-
7 Jul 2010 @ 17.57 lol.. I had a chat with jon about that earlier, I handed him a copy of that code that I had slightly customised as it did not work properly.. sorry, maybe I should have posted it.
-
7 Jul 2010 @ 18.57 That would be great if you wouldn't mind. Maybe even add it to the resource forum.
-
7 Jul 2010 @ 23.01 Nice share, never even knew this was possible
Similar Threads
-
checking and replacing part of a string if matches a value stored in an array
By ljackson in forum PHP, ASP & JavaReplies: 3Last Post: 23 Jan 2011, @ 20.34 -
Internal Page Links vs External Page Links
By Ol'Canuck in forum Just Starting Out - Help Me!Replies: 2Last Post: 29 Apr 2010, @ 17.17 -
404 page
By sudhakararaog in forum PHP, ASP & JavaReplies: 1Last Post: 29 Dec 2009, @ 23.04 -
Sitemap.xml - The most Overrated Search Engine Indexing factor
By angel54 in forum SEO (Search Engine Optimisation) & Search EnginesReplies: 3Last Post: 15 Sep 2009, @ 09.37 -
Indexing problem possibly
By Michael in forum SEO (Search Engine Optimisation) & Search EnginesReplies: 0Last Post: 14 Apr 2009, @ 10.41



LinkBack URL
About LinkBacks












Displaying Search Results
Agree with you.... Generally, we don't have control over display...