Change to "nofollow" on social buttons

Home Forums Iconic One Pro Support Change to "nofollow" on social buttons

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4571
    Mattias
    Participant

    Hi,
    I would like to put rel=”nofollow” in the external links from the social buttons (the images with alt=”Follow us on Twitter) on the right top of the website. It’s in the <div class=”socialmedia”>. Where do I edit the html?

    I also wonder if there is any way to put rel=”nofollow” on the Social sharing buttons in the bottom of each post. The buttons in the <div class=”themonic-social-share”>.

    Thanks for a good and clean theme, been using it since 2013 for my SEO-ranking sites.

    #4572

    For the header social media links, you have to edit header.php

    For eg line 54 of header.php will become

    <a rel="nofollow" href="<?php echo get_theme_mod( 'twitter_url', '' ); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/twitter.png" alt="Follow us on Twitter"/></a>

    Social Sharing Buttons are not links but scripts so you cannot nofollow them.

    #4573
    Mattias
    Participant

    Thanks, found it

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.