WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] canonical alway points to ./ (4 posts)

  1. gerobe
    Member
    Posted 2 years ago #

    WordPress 3.3.2
    WP Seo 1.2

    Since the update all my posts canonical are the same! They only show

    <link rel="canonical" href="./"/>

    A bug?

    Greetings
    gerob

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. gerobe
    Member
    Posted 2 years ago #

    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/"/>

  3. gerobe
    Member
    Posted 2 years ago #

    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.

  4. gerobe
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags