WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Resolved] [Plugin: WordPress SEO by Yoast] canonical alway points to ./

[Resolved] [Plugin: WordPress SEO by Yoast] canonical alway points to ./

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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/”/>

    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.

    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 ‘[Resolved] [Plugin: WordPress SEO by Yoast] canonical alway points to ./’ is closed to new replies.
Skip to toolbar