Home Private Messages Search
CPG Dragonfly™ CMS
Toggle Content
 
Forums ⇒ Miscellaneous ⇒ Search Engines ⇒ [solved] Stop Google caching "printer friendly" pages


[solved] Stop Google caching "printer friendly" pages
Questions and issues with search engines, SEO, bots, meta tags.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Search Engines

View previous topic :: View next topic  
Author Message
CodeMyster
Nice poster
Nice poster

Offline Offline
Joined: Jan 17, 2005
Posts: 87

PostPosted: Sun Nov 14, 2010 5:52 am
Post subject: [solved] Stop Google caching "printer friendly" pages

Ok so I've noticed an annoying thing lately. Google is caching my "printer friendly" pages which is allowing people to view content at google, without all of the surrounding blocks and header that make up my page. This includes avertisement blocks.

I have alot of "guides", FAQ's and otherwise important content i dont mine people accessing via the normal page fetch process as it shows my advertisers info... but google's caching of the printer friendly page allows people to access my content while avoiding the advertisers.

Any recommended methods to counter this? Maybe add

<meta name="robots" content="noarchive">

to the header of the printer friendly pages? Eliminate the printer friendly link all together? I'd hate to do that but I'd rather do that then let Google freeload off my content.


CodeMyster's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS:Linux/Apache:1.3.33 / MySQL:5.0.51a / PHP:5.2.6 / DF 9.2.1
Back to top
View user's profile Visit poster's website
CodeMyster
Nice poster
Nice poster

Offline Offline
Joined: Jan 17, 2005
Posts: 87

PostPosted: Sun Nov 14, 2010 6:01 am
Post subject: Re: Google caching "printer friendly" pages to avoid blocks

Let me clarify that a little, I use my "News" module as a articles system. It works good for that.

What Google is doing is linking to:

www.huntingnut.com/ind...int&sid=21

instead of

www.huntingnut.com/ind...cle&sid=21

Notice the "File=xxxxx" field. So even if you follow their link to my site, it shows the abreviated page omitting the site header and blocks.


CodeMyster's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS:Linux/Apache:1.3.33 / MySQL:5.0.51a / PHP:5.2.6 / DF 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8837
Location: Netizen
PostPosted: Sun Nov 14, 2010 6:44 am
Post subject: Re: Google caching "printer friendly" pages to avoid blocks

Just insert
PHP:
<meta name="robots" content="noindex" />
into the html in the file modules/News/print.php

Bear in mind that not all robots will obey this directive, but Google will.

For an immediate result you can submit a request to Google to de-index a page - just search Google for the link.

You can also use nofollow in the link to that page
PHP:
<a href="'.getlink('whateveritis').'" rel="nofollow" />
but this not so reliable.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
CodeMyster
Nice poster
Nice poster

Offline Offline
Joined: Jan 17, 2005
Posts: 87

PostPosted: Sun Nov 14, 2010 6:25 pm
Post subject: Re: [solved] Stop Google caching "printer friendly" pages

Sorry for making the initial post in the wrong section. I missed seeing the Search Engines forum.

Thanks though for the insight and info. I will make some changes today for this.


CodeMyster's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS:Linux/Apache:1.3.33 / MySQL:5.0.51a / PHP:5.2.6 / DF 9.2.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Search Engines
Page 1 of 1
All times are GMT



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Mercurial Commits
· Added: Security sessions management Bugfix: infinite loop in $leochanged check
· Bugfix: Poodle\Mail\SMTP failed sending Bugfix: Security system undefined data B
· Added: Poodle\HTTP\URLInfo Bugfix: Poodle\HTTP\Request headers parsing and body
· Bugfix: \Poodle::getKernel()->IDENTITY can be undefined in debugger Change: spli
· Changed another L10N->get() to L10N->dbget() for CFG->global->slogan and CFG->gl
· Changed L10N->get() to L10N->dbget() for CFG->global->slogan and CFG->global->si
· Improved L10N admin
· Update version due to L10N changes
· Bugfix: L10N date parsing Added: L10N dbget() check v9 constants
· Merge

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy