hello,
Ampforwp and rankmath plugins are active on my website.
before sending you this problem, ampforwp developers have studied this problem in detail. and they told me to share it with you.
"nofollow" is active for "authors" pages on my website via rankmath plugin.
The reason for this: because there are too many users on my website, I prevent search engines from indexing.
but after doing this situation, an error appeared in a very different area.
On the semrush seo analysis website, I started getting this error constantly:
1,877 outgoing internal links contain nofollow attribute...
On the semrush website, amp pages and non-amp versions of these pages appear in the details area of this error.
I also forwarded this error to them because I thought it would be from the ampforwp plugin.
After doing the necessary checks many times on them, they sent the following message:
In summary: In all posts and amp posts where the wpdiscuz plugin is active, there is a very serious error in the (author link page) seo field.
Attached are images on the subject.
If you want I can share all the necessary details.
sample post:
kobivadisi . com/10-bin-saat-kurali/amp/
kobivadisi . com/10-bin-saat-kurali/
Hi aga2442,
The wpDiscuz adds the nofollow only in the following two cases:
1. When the user adds the image URL and it's turned to the <img> tag in the comment content after the comment is added. The option is called "Image Source URL to Image Conversion". It's located in the Dashboard > wpDiscuz > Settings > Comment Content and Media admin page.
2. If the "Use Website URL as Profile URL" option is enabled. This option can be found in the Dashboard > wpDiscuz > Settings > User Authorization and Profile Data admin page.
You can use the hook code below and make the changes you like: https://wpdiscuz.com/docs/codex/filters/wpdiscuz_author_link_attributes/
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
@asti thanks.
The settings you mentioned are as in the images.
I also want to emphasize this.
The problem I mentioned does not occur before login.
but nofollow problem occurs after user login.
If I add the code on this page, will the problem be fixed?
if it will fix the problem where should i add the code?
Use this code:
add_filter("wpdiscuz_author_link_attributes", function ($attrs) {
if (isset($attrs["rel"]) && $attrs["rel"] === "nofollow") {
unset($attrs["rel"]);
}
return $attrs;
});
The code should be put in the active theme functions.php file.
This article should be helpful for you: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
I'm doing what you said. but still nofollow continues to appear.
You can also see the video.
In the other browser I tested, the member is logged in.
Please delete all kinds of caches (website, wpDiscuz, browser before checking).
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
While the member login is active, the cache is disabled. I also tested this by logging in as admin.
What about the wpDiscuz cache? Have you deleted it?
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Please send the admin login details to info[at]gvectors.com email address. I'll ask the developers to check the issue for you.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
We're not able to access to your website dashboard. Please check the login details.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
ok, we'll check and let you know asap.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
The nofollow attribute in the please you're mentioning doesn't come from the wpDiscuz plugin.
wpDiscuz adds the nofollow attribute in the two places I've mentioned here: https://wpdiscuz.com/community/postid/19090/ And the hook-code provided by us removes them.
Probably the attribute is being added by another plugin.
Anyway you can use the solution provided here: https://www.serpbabel.com/how-to-fix-internal-nofollow-links-in-wordpress-for-beginners-with-pictures/
It should remove the attribute.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Thank you for your support.
I added the code you sent earlier to the functions.php field.
should i remove this?






