Forum Moderators: phranque
Ex: <iframe src ="dir/this-page.php" width="100%">
</iframe>
If it does, is there another *relatively* easy way to keep the robot from spidering just a portion of a page? How about building the pages using frames?
It would be a bit too bandwidth intensive with images .. and a pain as well.
The real question is why you need to keep spiders away from the page. Depending on the reason, you might try other methods of protecting the page (e.g. blocking common spiders, password protection, bot traps etc).
If you can explain the reason, I could give some more specific advice.
The real question is why you need to keep spiders away from the page. Depending on the reason, you might try other methods of protecting the page (e.g. blocking common spiders, password protection, bot traps etc).If you can explain the reason, I could give some more specific advice.
The portions of the page that I want to keep the spiders away from is duplicate / affiliate content.
I recently had 1,200 (all but 4 pages of the site) drop out of Google's index.
In which case robots exclusion (as you've already implemented) should be fine.
>>I recently had 1,200 (all but 4 pages of the site) drop out of Google's index.
This may well indicate a more serious problem - even sites with lots of duplicate content don't necessarily get all the pages dropped - they just perform badly.
This may well indicate a more serious problem - even sites with lots of duplicate content don't necessarily get all the pages dropped - they just perform badly.
No cloaking, no invisible text .. actually, I'm not talented enough to do all that black hat stuff.:)
Everything on the page other than a <h2> tag has been duplicate / affiliate content
If a PHP include is stored in a remote directory and that directory is excluded by robots text, does the spider 'see' what is in the include?
Spiders only see the output - if you view source in your browser, that's what the spider will 'see'. They have no opportunity to even know the include exists (unless there are direct links to the included file).
Everything on the page other than a <h2> tag has been duplicate / affiliate content
I suppose you might be dropped for having such a high level of duplication, although I don't think this is very common (could be wrong though ;)).