Support » Everything else WordPress » Huge WordPress BUG + Negative SEO impact

Viewing 3 replies - 31 through 33 (of 33 total)
  • Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    are you telling that my site (outdoorhaber.com) doesn’t have proper canonical link structure?

    Yes, please read Otto’s explanation above.

    @belgen

    are you telling me that my site (outdoorhaber.com) doesn’t have proper canonical link structure?

    Yes, that is correct, there’s a problem with your site’s canonical link structure.

    When I view your site’s source, the canonical link is rendered as <link rel="canonical" href="//www.outdoorhaber.com"/> — as @otto42 pointed out in his first response to this thread here, the format of a canonical link must be href="https://www.outdoorhaber.com", with the https://. Starting the canonical link with just // is invalid.

    I’m not certain what would be causing your canonical links to render without the protocol prefix, but if you fix that, then search engines should be able to understand your canonical links.

    Edit: whoops, hadn’t seen @sergeybiryukov‘s response, apologies for the double-post!

    • This reply was modified 1 year, 8 months ago by  K. Adam White. Reason: Hadn't seen a prior comment explaining the same thing
    • This reply was modified 1 year, 8 months ago by  Samuel Wood (Otto). Reason: fix username

    I agree that this is not a WordPress bug and in fact a “syntax” issue.
    I want to understand on a larger scale on how to prevent this. The following url is invalid because The ?p= parameter is supposed to get an integer not a string. https://www.microsoft.com/en-us/?p=online+casinos Although invalid, it doesn’t generate a 404 and the content is there under this link and google will crawl and index this page.

    In order to prevent garbage in garbage out, then Microsoft.com needs to reference the correct canonical link element in the <head> to prevent back-links using that invalid string?

    Reference on wikipedia
    In February 2009, Google, Yahoo and Microsoft announced support for the canonical link element, which can be inserted into the <head> section of a web page, to allow webmasters to prevent these issues.[7] https://en.wikipedia.org/wiki/Canonical_link_element

    • This reply was modified 1 year, 8 months ago by  microurl.
    • This reply was modified 1 year, 8 months ago by  microurl.
    • This reply was modified 1 year, 8 months ago by  microurl.
    • This reply was modified 1 year, 8 months ago by  microurl.
    • This reply was modified 1 year, 8 months ago by  microurl.
    • This reply was modified 1 year, 8 months ago by  microurl.
Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘Huge WordPress BUG + Negative SEO impact’ is closed to new replies.