-
in templates/view.php
Modify
PHP1<a href="<?php echo $userpro- rel="nofollow">permalink($user_id); ?>"></a>and include noindex and nofollow to this link. To stop profile URLs from index/follow.
Do you mean by adding this 2 lines of codes in?
<a href="<?php echo $userpro- rel="nofollow">permalink($user_id); ?>"></a>
<a href="<?php echo $userpro- rel="noindex">permalink($user_id); ?>"></a>
Please advice.
Also, how do we combine the noindex and nofollow tags to one? There are quite a number of codes that is the same as that. Do we change all of that or only one?
Can you specific the exact location to include these codes?
Add rel=”nofollow” to all links you do not want to be followed. 🙂
All codes that link to $userpro->permalink should be modified in the same way!
Which seo plugin are you referring to?
Do you mean noindex Author Archives?
No, you need aa plugin that allow you to add the noindex to meta tags. Noindex can’t be added in html, need a plugin that hooks meta in html 🙂
I am using Yoast SEO plugin, can this do the job?
Otherwise, can you let me know which plugin that is able to do this function?
Yes, that plugin should be able to add specific meta tags to a page. Try its documentation/feature. 🙂
There isn’t one that specification mention about users. Do you mean the author?
You must be logged in to reply to this topic.