Tagged: x
-
AuthorPosts
-
July 5, 2016 at 8:09 am #1072930
Hey,
How do I make the social icon links in my footer nofollow?
I’ve tried this: https://community.theme.co/forums/topic/make-social-icons-nofollow/#post-285216 but according to this: http://www.paulsilver.co.uk/articles/seo_check_nofollow.php the links are still do follow.
Regards.
July 5, 2016 at 8:18 am #1072944Hi There,
Thanks for posting in. You may use the following code.
jQuery(document).ready(function($) { $('footer .x-social-global a').attr('rel','nofollow'); });
Or you may just update the suggested code here:https://community.theme.co/forums/topic/how-to-make-links-in-footer-menu-nofollow/#post-1072903, to the following to work for both menu and social links in footer:
jQuery(document).ready(function($) { $('footer a').attr('rel','nofollow'); });
Hope this helps.
July 5, 2016 at 11:23 am #1073224Excellent do you know how to make image links nofollow?
July 5, 2016 at 11:39 am #1073247Hi there,
Thanks for writing back. Do you want to do this for all image links? You can update the above code to this :
jQuery(document).ready(function($) { $('footer a, a.x-img').attr('rel','nofollow'); });
Hope this helps.
Cheers!
July 5, 2016 at 12:01 pm #1073289Anyway to change it to specific links?
July 5, 2016 at 12:01 pm #1073290Image links*
July 5, 2016 at 3:50 pm #1073643Hi again,
You can change the above code with this:
jQuery(document).ready(function($) { $('footer a, a.x-img').attr({'rel':'nofollow', 'href':'http://google.com/'}); });
Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
July 6, 2016 at 4:54 am #1074460Is have have to add hundreds of sites, will this slow my site? If so is there anything more efficient.
July 6, 2016 at 5:04 am #1074468If I*
July 6, 2016 at 6:01 am #1074539Hi,
Can you provide us your site url.
You can add the rel=”nofollow” to the link itself instead of using javascript.
Thanks
July 6, 2016 at 12:42 pm #1075125This reply has been marked as private.July 6, 2016 at 6:09 pm #1075490Hi there,
You image link set correctly as no follow. For button shortcode, we don’t have any inbuilt feature to add nofollow. Please follow this instructions for that (https://community.theme.co/forums/topic/make-rows-nofollow/#post-381226).
Hope that helps.
-
AuthorPosts