WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Meta Tags doubling up in header. (3 posts)

  1. Seb Syd
    Member
    Posted 3 years ago #

    Hi,

    Meta tags are doubling up in the head section.
    <meta name="description" content="The Bellingen Valley Historical Society is a non-profit organisation of volunteers, dedicated to preserving the history of the Bellingen Valley and surrounding..."/>
    <meta name="keywords" content="Bellingen and Urunga Museums"/>
    <meta name="robots" content="index,follow,noodp,noydir"/>
    <link rel="canonical" href="http://bellingenmuseum.org.au/"/>
    <link rel="prev" title="Resources" href="http://bellingenmuseum.org.au/resources"/>
    <link rel="next" title="Site Map" href="http://bellingenmuseum.org.au/site-map"/>
    <meta name="description" content="The Bellingen Valley Historical Society is a non-profit organisation of volunteers, dedicated to preserving the history of the Bellingen Valley and surrounding..."/>
    <meta name="keywords" content="Bellingen and Urunga Museums"/>
    <meta name="robots" content="index,follow,noodp,noydir"/>
    <link rel="canonical" href="http://bellingenmuseum.org.au/"/>
    <link rel="prev" title="Resources" href="http://bellingenmuseum.org.au/resources"/>
    <link rel="next" title="Site Map" href="http://bellingenmuseum.org.au/site-map"/>

    It's not the functions file it does it even if SEO plugin is deactivated.
    Any clues as to why this may be happening?

  2. Seb Syd
    Member
    Posted 3 years ago #

    After doing more testing and checking.

    Upgraded to 3.04. Still double meta tags.
    Disabled all plugins, tried totally different themes still double meta tags.
    Checked .htaccess still double meta tags.

    So therefore maybe a problem in the data base, any suggestions.

  3. Seb Syd
    Member
    Posted 3 years ago #

    I had placed:-

    <?php wp_deregister_script('jquery');wp_head(); ?>

    before <?php wp_head(); ?> in the header.php file to stop jQuery loading where it was not needed.

    This "script" caused the meta tags to double up.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags