SEO Theme

Posted in: Newspaper
Post count: 1341

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!

Post count: 23312
Post count: 1341

Thank you Catalin, I forgot about this method.

Following questions:

How to add the “nofollow” parameter categories links?

How to remove the attribute “title” all links on the website?

How to add the “nofollow” parameter the date?

Post count: 9544

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.

Post count: 1341

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. ))

Post count: 20688

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

Post count: 1341

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

Post count: 1341

Let us on order.

Next question:

How to remove the attribute “title” in this module?

Thank you!

Post count: 20688

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

Post count: 1341

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">';

Post count: 1341

Next question:

Tell me please where this links is called (I want to add the “nofollow” parameter for this links)?

Thank you!

Post count: 20688

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

Post count: 1341

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!

Post count: 20688

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

Post count: 1341

Thanks!
Next question:

Where is the output of this drop-down menu formed?

The task is the same – to remove duplicates on the site (add the “nofollow” parameter to the menu items).

Thank you!

Post count: 285

Hi Edward,
Do not get angry, but tell your “SEO specialist” that he has missed some classes 🙂
¿¿¿Why are you going to put nofollow attribute tou your own links???

  • This reply was modified 8 years by nairolf.
Post count: 1341

Where is the output of this drop-down menu formed?

Ups. Nevermind. Just disable this menu in the theme panel…

Post count: 1341

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. 🙂

Post count: 20688

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

Post count: 1341

Thank you Simoin!

Next: Can I delete these arrows from RELATED ARTICLES section?

Thanks!

Post count: 20688

Hi,

That could be removed by commenting or removing this line of code from the mentioned file
https://www.screencast.com/t/7PnY8nuyLBf

Thanks

Post count: 1341

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!

Post count: 22421
Post count: 1341

Great! Thanks!

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