WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Wrong canonical url and facebook/twitter meta on my homepage (2 posts)

  1. shevsky
    Member
    Posted 1 year ago #

    WordPress version:3.4.2
    WordPress SEO version:latest, devel and latest version again
    Woothemes Whitelight theme + woocommerce
    I did this: deactivated all plugins one by one, reinstall wp seo, upgraded to devel version, deactivated all plugins one by one again, back to latest version again

    I expected the plugin to do this: to put proper canonical url/facebook og data and twitter card data in my homepage source

    Instead it did this:

    <!-- This site is optimized with the Yoast WordPress SEO plugin v1.2.8.7 - http://yoast.com/wordpress/seo/ -->
    <title>TITLE IS OK</title>
    <meta name="description" content="NOT HOMEPAGE DESCRIPTION, INSTEAD IT POOLS DESCRIPTION FROM MY FAQ PAGE"/>
    <link rel="canonical" href="http://www.myurl.co.uk/frequently-asked-questions/" /> ------ should be http://www.myurl.co.uk/
    <link rel="author" href="https://plus.google.com/11101111111111111111"/>
    <meta name="twitter:card" content="summary">
    <meta name="twitter:site" content="@twitter user name">
    <meta name="twitter:creator" content="@twitter user name">
    <meta name="twitter:description" content="NOT HOMEPAGE DESCRIPTION, INSTEAD IT POOLS DESCRIPTION FROM MY FAQ PAGE">
    <meta property='og:locale' content='en_US'/>
    <meta property='fb:app_id' content='111111111111111'/>
    <meta property='og:title' content='TITLE IS OK'/>
    <meta property='og:description' content='NOT HOMEPAGE DESCRIPTION, INSTEAD IT POOLS DESCRIPTION FROM MY FAQ PAGE'/>
    <meta property='og:url' content='http://www.myurl.co.uk/frequently-asked-questions/'/> should be http://www.myurl.co.uk/
    <meta property='og:site_name' content='SITE NAME'/>
    <meta property='og:type' content='article'/>
    <!-- / Yoast WordPress SEO plugin. -->

    Plugin puts wrong canonical link and metadata on my homepage, when I type http://www.myurl.co.uk - it takes me to my homepage but with wrong canonical in the source, when I remove the "/frequently-asked-questions/" page from wordpress and try to go to my homepage again it takes me to "http://www.myurl.co.uk/frequently-asked-questions/" and shows 404 error.

    I found a couple of ideas on this forum but none of them work. All other pages are ok, it's just this one and the most important one ( and the only one I cant edit canonical url for from plugin dashboard. Any ideas how to fix it? I dont want to get rid of this plugin.

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

  2. shevsky
    Member
    Posted 1 year ago #

    Resolved! Plugin working fine, it was my own mistake in theme settings

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.