Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By ILTK on
I been going thru my drupal site doing some seo on it, the last thing I need to get done is removing the print friendly links, which by thier very nature is duplicate content, and can be solved much better with a print stylesheet.
Is there anywhere I can get rid of the print friendly links everywhere? A small code hack perhaps?
Search didnt turn up anything.
Comments
This is either a module or theme issue
There is a module for 'print friendly' links, if you have it enabled you can goto administer -> modules and disable it.
Or is possible it is part of the theme, If a phptemplate theme it might be in node.tpl.php
Thanks,I had the print
Thanks,
I had the print friendly module installed (print-4.6.0.tar.gz), but it didnt allow access restrictions so I could have it off for anonymous users (crawlers for example) so I took it of a while ago, and even deleted the module, but the print friendly links still persists.
I'm using xtemplate but i will go have a look at the theme code, but it's strange that it still works even when I have deleted the module.
Hmm, I just noticed that
Hmm, I just noticed that it's only the book module, that has the 'print friendly version' link
Yep, the code was in the
Yep, the code was in the book.module, I just commented the code for the link out and it's gone.