Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO warning, because of <a> tag linking to an image instead of website #226

Open
fatheaddrummer opened this issue Oct 5, 2019 · 5 comments

Comments

@fatheaddrummer
Copy link

Hi and thank you so much for the awesome plugin!

Yesterday we received a warning from SEM rush, that tags that are linking to an image will be interpreted as poor architecture by search engines. We never had this issue before, but i think this could be possibly connected to latest google algorithm update?! I don't really know, but I'll post the exact warning in the end of this post. The warning has been submitted by SEM Rush. Would it be possible, to put the image source into an attribute like data-src="/path/to/src.jpg" and the href="#" ? It seems to be an issue and maybe it's worth thinking about it. This issue is totally new for me as well and I really think it has to do somthing with the google update, since I have been using your plugin for 1-2 years, but this is the first time, we receive the warning. Please let me know what you think about this. Thank you so much and have a great day!

The warning by SEM Rush:
We detected that some links to resources are formatted with HTML element. An tag with a href attribute is used to link to other webpages and must only contain a page URL. Search engines will crawl your site from page to page by following these HTML page links. When following a page link that contains a resource, for example, an image, the returned page will not contain anything except an image. This may confuse search engines and will indicate that your site has poor architecture.

@zalevsk1y
Copy link

If SEM rush confuses image links in the tag, use the rel = 'nofollow' attribute. This will show the search engine that this link should be ignored.GooglesBlog:

rel="nofollow": Use this attribute for cases where you want to link to a page but don’t want to imply any type of endorsement, including passing along ranking credit to another page

@Bee406
Copy link

Bee406 commented Nov 13, 2019

We ran into the same warning from SEM Rush and the nofollow attribute did not work. Would love any input as we'd really like to keep using this plugin. Thanks so much!

@Bee406
Copy link

Bee406 commented Dec 2, 2019

We ran into the same warning from SEM Rush and the nofollow attribute did not work. Would love any input as we'd really like to keep using this plugin. Thanks so much!

Do u solved this issue?

No, we are still having the same problem. Not a huge deal but would be interested in finding a fix.

@admench
Copy link

admench commented Jun 16, 2020

I am having the same issue and can confirm that adding rel="nofollow" does not fix the issue in semrush. Might have to move to a different lightbox library.

@LeoniePhiline
Copy link

Linking to an image is not poor architecture - it is a fallback to images without or with disabled JavaScript.
Completely best-practice across the web.

Repository owner deleted a comment from 19890843006 Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@admench @LeoniePhiline @zalevsk1y @fatheaddrummer @Bee406 and others