test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • gray Friend
    #171848

    The issue relates to the fact that search bots are following the email button, which is trigging the Admin Tools security exceptions. So, it’s not an issue (you’ll not see any warnings) if there is no firewall component installed. Still, the fact that Google and others are following and indexing in particular the “Send to Friend” page, which useless for SEO, is not good thing.

    So, what I did. In files:
    /templates/ja_teline_iv/html/com_content/article/default.php
    /templates/ja_teline_iv/html/com_content/category/blog_item.php

    found[PHP]<?php echo JHtml::_(‘icon.email’, $this->item, $params); ?>[/PHP]
    and replaced with [PHP]<?php echo JHtml::_(‘icon.email’, $this->item, $params, array(‘rel’ => ‘nofollow’)); ?>[/PHP]
    This added “nofollow” attribute to the email link (such an attribute is added by default to the print icon by Joomla, why it’s not to the email button – that’s a good question…).

    Moreover, in robots.txt I added
    # Do not index email to friend button
    Disallow: /component/mailto/*
    Disallow: /index.php?option=com_mailto*

    Blaine Friend
    #431983

    Thanks Gray!
    I am sure this will be of much use to many members!
    keep up the good work!

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Blaine 12 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum