3

I got very weird 404s from the Google Search Console. It shows me some kind of URL mix up and I cannot pinpoint where this pattern comes from. It is a WordPress installation.

https://example.com/blog/page/12/’https://go.example.com/20190620-Lyft-Livestream.html?ref=blog

https://example.com/blog/page/13/’https://go.example.com/Retail_Webinar_Registration.html?ref=blog

https://example.com/blog/page/14/’https://go.example.com/WBR190710AI_Registration.html?ref=blog

Do you know how these may have been generated?

  • 1
    Do you recognize the /WBR190710AI_Registration.html?ref=blog link? Is that something you have on your site or a WordPress plugin might be putting on your site? – Stephen Ostermiller Oct 29 at 14:01
  • Thanks for jumping in. This is the lead gen pages module. I guess that a plugin / app is used to manage these. It looks like the go.example.com is still using WordPress to host the lead gen pages. What is your idea? – dtodorova Oct 29 at 14:22
  • 1
    Can you view the page source on one of your pages, find the HTML code around this link, and paste that into your question? I'll bet the code is broken in some subtle way. – Stephen Ostermiller Oct 29 at 14:34
  • I have checked a couple of pages and the link cannot be found in the HTML. I guess it is autogenerated somehow but it is not hardcoded in the code. – dtodorova Oct 29 at 14:46
  • 1
    What is the URL of your website? Maybe we can check for you. – Stephen Ostermiller Oct 29 at 14:51
5

This certainly looks like a mistyped URL in the links on pages /blog/page/12/, /blog/page/13/ and /blog/page/14/. On those pages look for a link like the following:

<a href='’https://go.example.com/20190620-Lyft-Livestream.html?ref=blog'>Link</a>

The erroneous single back curly quote at the start of the URL will trigger the user-agent (browser / Googlebot) to treat the URL as relative.

Since this is affecting numerous different URLs then maybe this is a typo in a template?

  • 1
    Actual URLs of pages could even be /blog/page/12/url-slug-text which would still give the same result for relative URLs. – Stephen Ostermiller Oct 29 at 14:48
  • 1
    Would double single quotes actually produce the issue? It might depend on the parser, but I'd think that would be an empty href followed by an attribute starting with https://.... <a href="'http..."> would be much more likely to exhibit the problem I would think. – Stephen Ostermiller Oct 29 at 14:50
  • 1
    Yes, double single quotes would result in an empty href, followed by something... I used a single + curly quote since it was a curly quote in the question (maybe a problem with the editor being used?). But yes, a double+single quote would also exhibit a similar problem (with a single quote at the start). – MrWhite Oct 29 at 14:53
  • I would consider the question answered and ask my front end colleagues to check the templates. Thank you! – dtodorova Oct 29 at 14:56

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.