Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gerobe

    (@gerobe)

    Can anybody tell me, if this is an error?

    The syntax ./ means “same directory” but is this an allowed value? I thought that the syntax should look like

    <link rel=”canonical” href=”/name_of_post_slug/”/>

    Thread Starter gerobe

    (@gerobe)

    I also noticed, that all the SEO-Links on the admin-bar, go to “/” and not to the page url. The Header Checker and other services just return an error because the site-url is missing.

    Thread Starter gerobe

    (@gerobe)

    I did some research. The reason for this behavior is the plugin WP-HTML-Compression, which does not exclude the canonical tag from compression and destroys it. I reported this to the author, so hopefully these two plugin will work together in the future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] canonical alway points to ./’ is closed to new replies.