How to add rel nofollow to all social network widgets

Posted in: Newspaper
Post count: 92

Hello,

Can you please advise how to add rel noffolw to the social networks placed in the theme:
on the top part https://gyazo.com/c19ef25a0e60775fbcb8f965aec6e188
in the widget — https://gyazo.com/c68f94a09a9c5ed820ca4c6fb6d74ac0
in the buttom part — https://gyazo.com/9e3eda5b34278fe0fd6ba2fd06f2151d

Where do I find the code of those buttons?

Thanks

  • This topic was modified 10 years by mc_kot.
Post count: 22421

Hi,
In order top do this you will require basic coding knowledge. For the social icons in the header and footer you need to ad nofollow here: http://screencast.com/t/a5cQwCHql
For the social counter plugin: http://screencast.com/t/HeYxlk9y
Please use this refference to see how to properly insert rel=”nofollow” : http://www.w3schools.com/tags/att_a_rel.asp
Thank you!

Post count: 92

Can you please advise if it is possible to make those changes via child theme or they can be made only via codebased theme?

Thanks,
Denis.

Post count: 22421

Hi,
Unfortunately the modification cannot be made in the child theme as the plugins cannot work from there and the wp-booster folder does not work from the child theme either. Please make the modification in the main theme.
Thank you!

Post count: 92

Thank you. Does it mean I would need to change that code after every them update?

Post count: 22421

If the file gets modified, yes. If not, then you can keep a back-up of the file and simply replace it after the update. You must use the changelog and updated files list and if the file you modified is on that list, you must add the customization again to the new files as copying over the old file will not work.
Thank you!

Post count: 92

thanks.done. Ideally it would be great if there is any possibility of adding td_social_icons and td_block_social_counter for child theme support.

Post count: 128

Do you think it’s important to add rel=nofollow for social networks for SEO? If so it should be an option in the theme.

Post count: 92

It is very important for SEO of the web sites

Post count: 22421

Sorry but plugins cannot be over-written from the child theme. You will have to modify the main files. luckily, the plugins do not get updated on every theme update so you will probably not need to re-add this modification very often.
Thanks.

Post count: 65

mc_kot, whoever told you that is important for SEO has no idea. You should not “nofollow” your own social accounts.

You can read more on Moz instead of whoever told you that.

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.