Avada › Forums › Community Forum › rel="nofollow" gets removed from image links – troubleshooting was performed
Tagged: link, image, rel="nofollow", nofollow, removed
-
AuthorPosts
-
Hello!
I just noticed that if I add a
rel="nofollow"
attribute to an image link (in the<a>
tag, not<img>
) it gets removed on the front-end.I installed Avada on my testing site – just to test the issue – with the plugins disabled, and it happens there too.
Now, I don’t know JS, but I’m relying on my common sense.
Avada assigns an event to the images, which I believe is removing the
rel="nofollow"
attribute.If you look at this screenshot, you’ll notice that an event has
.getAttribute("href")
and.getAttribute("target")
.I’m thinking that if there’s no
.getAttribute("rel")
(I assume such thing exists in JS), then it ignores/removes it from the image link.If someone could tell me how to fix this, it will be greatly appreciated!
I want to nofollow some image links because they are affiliate links, and I want to apply the best SEO practices and play it safe.
Here’s a link to one of my posts in case it’s necessary to check things out. You can inspect the affiliate banner at the end of the post.
It currently has a
rel="nofollow"
attribute added in the back-end but doesn’t show on the front-end.Let me know if you need more info!
Thanks,
RaduHi @radu
You have have valid Grandfathered support and because our team does not provide support via the Community forum, please create a ticket using the link below and our team will gladly assist and check your install.
Click Here To Get Avada Support
We look forward to helping you!
Thank you kindly
-
AuthorPosts
- You must be logged in to reply to this topic.