Hi dear Developers Team!
According to the results of the technical audit of the site, the specialist instructed me to make the following corrections. In this section of the forum I would like to ask developers for solutions step by step.
Add the nofollow parameter for the Header social links (https://forum.tagdiv.com/topic/social-network-indexing/#post-221163). This solution works for a child theme?
You could add the nofollow parameter where the social link is created
– https://www.screencast.com/t/7vPntOfxC
– https://www.screencast.com/t/8cDdpnjY
That is possible by modifying the file as shown and adding the link parameter.
How to add the nofollow parameter for the Top header menu items?

Thanks!
Hello Edward,
Please check here -> http://www.wpbeginner.com/wp-tutorials/how-to-add-nofollow-links-in-wordpress-navigation-menus/
Thanks.
You do NOT need to add nofollow to any internal site links, only external site links.
There was an old worry about too many same site links, but that doesn’t apply to news portals where elements like the ‘date’ are identified with microdata as the date, and not a spammy attempt to be a search result for the “date” (which would not work anyway).
Similarly links to internal articles from indexes and blocks don’t need nofollow links as you “do” want them to be followed to the canonical version of that content.
Thanks Chris for your reply!
I received a technical audit for the site from a specialist, in whose experience I have no doubt, so I try to fulfill all its requirements.
Your reasoning is probably true, but in our Russian-speaking segment of the Internet have to adapt to our main search engine Yandex.
Unfortunately, I am not a professional in the field of SEO, so, again, we have to fully rely on a more experienced colleague.
Thank you Chris one more time! And sorry for my poor English: I tried to explain the situation as clearly as possible. ))
Hi,
If that is what you want, I will try to help you. The category tag links on modules are created here
– https://www.screencast.com/t/qYbyDrCDyzA
So try adding the additional parameter there, then inspect some links after making this change.
The date displayed on mobile is not a link, so I don’ quite know what you want to do about this date.
Maybe you can find a plugin to modify all links at once, and remove/add the parameters you want. Or search through the theme for the title tags that need to be removed, that would be the only other way. Also note that you might loose these modifications after a theme update.
Thanks
Thank you Simion!
First of all I want to note that I understand that all changes will be lost in case of theme update.
Add the “nofollow” parameter categories links – Done!
If anyone is interested: in this file https://www.screencast.com/t/qYbyDrCDyzA add parameter rel=”nofollow”.
Was / Became


Hi,
For modules this is where the title is called
– https://www.screencast.com/t/dRYx0tG6h
Modify it like this – https://www.screencast.com/t/ILCebsZNj
Thanks
Hi Simion! Thanks!
Sorry, it doesn’t work until the end. Also modified the string 361.
Was:
$buffy .='href . '" rel="bookmark" title="' . $this->title_attribute . '">';
Became:
$buffy .='href . '" rel="bookmark">';

Hi,
That is not where the modification is to be made, this is an example
Before – https://www.screencast.com/t/MCBnX24ee6gr
Modification – https://www.screencast.com/t/dv7QHh6xs0p
After – https://www.screencast.com/t/EVUKUx94PKf
For the ajax menu, you would have to edit all the block templates
– https://www.screencast.com/t/4CJIMJCZ
Thanks
Hi Simion!
Your advice helps me a lot, thank you!
Move on and next question:
I can set up separately the parameters for this links (add the “nofollow” parameter) in the modules in the footer?

In my case: is it a block that displays new publications from all categories, and a block that displays the publications popular for the last 7 days.
Thank you!
Hi,
If you mean the post titles in the footer modules, there is a function that creates the links for all modules, not just the ones in the footer
– https://www.screencast.com/t/3Iq79oUjVVRR
Most of the functions for modules are in that file, modify them as needed.
Thanks
Next question:
Breadcrumbs on the category page.
By analogy with the display of the title of the article in breadcrumbs,

is it possible to remove the display of the category name on the category page?
Needed to remove duplicate item – the last item of the breadcrumbs:

Thank you!
P.S. Just be patient, I have very few questions. 🙂
Hi,
So you want to remove the last category, the one the user is currently viewing
– https://www.screencast.com/t/HrXWt2w5fLAN
This would be where it is defined, try to comment these lines of code
– https://www.screencast.com/t/zbA2MGRkEIa
– https://www.screencast.com/t/roXY1NtugiZs
– https://www.screencast.com/t/6JPT1LhW2
Thanks
Hi,
That could be removed by commenting or removing this line of code from the mentioned file
– https://www.screencast.com/t/7PnY8nuyLBf
Thanks
Thank you!
Next: Where I can to add code like this for example:
<?php echo '<p>Hello!</p>'; ?>
on the categories page under the pagination?
https://demo.tagdiv.com/newspaper/category/tagdiv-technology/tagdiv-gadgets/

Thanks!
Hi,
Here is an example: https://www.screencast.com/t/2ssmpsFC7qav – https://www.screencast.com/t/HmqLQr4ww
Thank you!




