Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #883287
    Misho
    Participant

    Hi!

    I am inspecting and validating the code before going live with the redesign of Outward Bound Croatia website. I have moved it to Cornerstone.

    There is a strange thing going on in the <head> of the pages. I see some double metas and the Title tag.

    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Outwardbound Hrvatska | Učenje Kroz Iskustva u Prirodi</title>
    
    <link rel="stylesheet" href="xxxx/wp-content/plugins/sitepress-multilingual-cms/res/css/language-selector.css?v=3.1.9.7" type="text/css" media="all" />
      <link rel="profile" href="http://gmpg.org/xfn/11">
      <link rel="pingback" href="http://xxx/xmlrpc.php">
      
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Outwardbound Hrvatska | Učenje Kroz Iskustva u Prirodi</title>
    
    <link rel="stylesheet" href="http://xxxx/wp-content/plugins/sitepress-multilingual-cms/res/css/language-selector.css?v=3.1.9.7" type="text/css" media="all" />
    <link rel="pingback" href="xxxx/xmlrpc.php">
    

    I have tried deactivating the plugins. This problem is not seen on the original site with VC, and all the same plugins.

    Any idea what could cause this?

    Thank you!

    #883289
    Misho
    Participant
    This reply has been marked as private.
    #883860
    Rad
    Moderator

    Hi Misho,

    Thanks for writing in.

    I checked and there is no related customization through child theme’s functions.php, perhaps, there are some custom templates? Please provide your FTP login credentials as well, I like to trace what’s causing it. It’s like there are two meta.php

    Thanks!

    #884427
    Misho
    Participant
    This reply has been marked as private.
    #885287
    Rad
    Moderator

    Hi there,

    Hmm, I’m not sure about it either. Is it possible to contact the hosting provider? I guess this is windows hosting which I’m not too familiar.

    Thanks!

    #886783
    Misho
    Participant

    Ok, I’ll remove the temporary location in a day or two anyway, as soon as transfer the site to it’s original domain.

    But what about the duplicate meta-data and the title?

    Thanks!

    #887352
    Christian
    Moderator

    Hey Misho,

    I could not replicate this issue on my test site so this might be unique to your setup. This looks like a plugin conflict your translation plugin. Please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Thanks.

    #893572
    Misho
    Participant

    Hi!

    New site is now live at http://www.outwardboundcroatia.com/en/. Hosting is Siteground.

    I did the plugin test.

    The duplicate tags issue is copied over to Siteground.

    So it is not plugins nor Hosting.

    I am running out of ideas. Do you have any?

    Thanks!

    #894540
    Rue Nel
    Moderator

    Hello There,

    Could you please provide us again your ftp access? We want to check some files in it.

    Temporarily, since you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.

    // Remove generic <head> Meta Data
    // =============================================================================
    function x_head_meta() {
      return null;
    }
    // =============================================================================

    Please let us know how it goes.

    #894554
    Misho
    Participant
    This reply has been marked as private.
    #895375
    Zeshan
    Member

    Hi Misho,

    Thanks for the login credentials!

    Upon checking, it seems you have added the meta tags in your child theme’s _header.php file under /x-child/framework/views/global/ (see: http://prntscr.com/avg0q9).

    Please remove your meta tags and the meta tags won’t duplicate.

    Thank you!

    #895743
    Misho
    Participant

    Wow!

    Why on Earth I did that? :/

    Thank you!!! 🙂

    #896597
    Thai
    Moderator

    You’re most welcome 🙂

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-883287 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>