4

I've read from numerous sources that unsafe hyperlink urls that use the http scheme may cause google to flag your website as having 'unsafe content'. This is why my website does not allow its users to post html content that contain a href links with unsafe http urls in them.

However a user could also choose not to turn the url into a clickable link, but instead just post it as plain text. My question is: If the user posts an url like http://example.com or www.example.com as plain text in a comment or another kind of user generated content, will the googlebot still see these urls as unsafe links? Or does it only look at a href links?

EDIT: Below a few of the sources:

HTTPS page loading non-HTTPS images

https://www.quora.com/If-a-site-is-HTTPS-but-includes-some-HTTP-links-does-this-affect-the-SEO

2
  • "I've read from numerous sources" - can you provide reference to some of these sources?
    – MrWhite
    Jan 10 at 23:27
  • @MrWhite see edit
    – Maurice
    Jan 11 at 0:27
4

An HTTP anchor itself is not "unsafe content". And Google will not penalise you for this, as the following article states, quoting Google's John Mueller (24-Feb-2020):

Q: Can it be problematic if our https site links out to non-https external sources in our content (or they were http at the time but 301'd to https eventually, which we didn't update on our end?)

John Mueller: No, that's fine from an SEO point of view. From a security POV linking directly to the HTTPS version when it exists is better, but sometimes HSTS helps. For embedding (images, iframes), you need to use HTTPS.

Yes, in the interests of your users, you should be linking to HTTPS where possible, but this is not an SEO issue.

Insecure/unsafe content, on the other hand, is when you embed images or other scripts/external resources directly in your site over HTTP (mentioned in the last sentence of John Mueller's Tweet above). As in the first reference you link to. You have little choice in this matter as the browser actively warns the user and refuses to load such content.

(The second reference to Quora is a bit of a garbled mess of opinion - several of the answers seem to have missed the point of the question. However, the highest voted answer is hitting the mark: "If you have links to other sites or internal pages that are http, that shouldn't affect anything.")

And if a URL is posted as plain text; that's just plain text.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.