[Solved] amp nofollow problem
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.
kobivadisi . com/10-bin-saat-kurali/amp/
kobivadisi . com/10-bin-saat-kurali/
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/
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?
While the member login is active, the cache is disabled. I also tested this by logging in as admin.
found on the general settings page; I also tried clearing the cache.
I emailed the information again yesterday.