Tagged: 

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1333251

    Hi,

    I have a problem with performance due to woocommerce and “<!– Scripts/CSS and wp_head hook –>
    <meta name=’robots’ content=‘noindex, follow’ />” on homepage. Cant seem to find the solution here and my hosting cant seem to solve it either.

    What can we do?

    Thanks!

    Kind regards,

    Jojanneke

    #1333315

    Hi Jojanneke,

    The login details you sent seem to be working, but it’s asking for a Two-Factor code after that. Could you share that with us as well please?

    Best regards,
    Rikard

    #1333372

    Hi Rikard,

    I managed to get a login and now I’m not sure if you saw the messages I wrote before, but I managed to switch Two-Factor off.

    Hope you can login now.

    Kind regards,

    Jojanneke

    #1333494

    Hi,

    Thank you for the inquiry.

    Looks like the meta tag has been added using the wp_head hook. Please check if the hook exists in the child theme’s functions.php, or enable the Appearance > Editor panel so that we could check it.

    Best regards,
    Ismael

    #1333632

    Hi Ismael,

    I send your remark to my hosting party. I’ll let you know what comes out of this.

    Thanks!

    Kind regards,

    Jojanneke

    #1333646

    Hi Ismael,

    They just adjusted it so you must be able to get in.

    Thanks!

    Kind regards,

    Jojanneke

    #1333692

    Hi,

    Thank you for the update.

    The hook doesn’t exist in the functions.php file, so the meta tag must have been really added by the shop plugin. Try to add this filter in the functions.php file to list all functions attached to the wp_head hook.

    
    add_action("after_setup_theme", function() {
        $hook_name = 'wp_head';
        global $wp_filter;
        echo '<pre>' . var_export($wp_filter[$hook_name], true) . '</pre>';
    }, 10);
    

    Best regards,
    Ismael

    #1333768

    Hi,

    I added the code in the message beneath now. We can also email.
    Let me know.

    Thanks!

    Kind regards,

    Jojanneke

    #1333772

    Oh sorry didnt know this would be the result.🙄

    #1333833

    Mmmm well doesnt seem to make a difference with the copy pasting of this code. I’ll move this file to my dropbox. I really do need a solution and with holiday coming up, I hope we can solve this problem today or tomorrow.

    Thanks guys!

    Kind regards,

    Jojanneke

    #1333844

    Hi,

    Thank you for following up.

    We have found a plugin called Head Meta Data installed in your site, but whenever we try to deactivate it, the site breaks. According to the plugin description, it adds a set of meta tags in the site. Have you tried deactivating the plugin?

    Best regards,
    Ismael

    #1333860

    Hi,

    I’m forwarded your reply, lets see what she says and finds out.

    Thanks!

    #1333862

    Hi,

    We can deactivate it whenever we want and nothing actually happens. This plugin is not responsible for the noindex. She deactivated it and the noindex still exists on the home.

    When we went through all plugins, it definitely came from the woocommerce. When we deactivated that, the noindex was gone.

    Maybe this helps?

    #1333990

    Hi,

    Thank you for the info.

    We may need to access the server in order to debug the issue further. Please post the FTP login details in the private field so that we can check the site.

    Best regards,
    Ismael

    #1335059
    This reply has been marked as private.
    #1335182

    Hi,

    Thank you for the info.

    We are still not sure why the meta tag is added when Woocommerce is enabled. We cannot reproduce the same issue on our end. The meta tag is set accordingly even when the shop plugin is enabled, so it is probably due to a third party extension or a custom modification in your site. Please check the screenshot in the private field.

    Can we deactivate the plugins while testing?

    Best regards,
    Ismael

    #1335211

    Hi Ismael,

    Mmm weird. I think you can try to deactivate the plugins. Won’t hurt right. ;-)

    When my hosting party did that with woocommerce, the noindex dissappeared.

    Let me know!

    Kind regards,

    Jojanneke

    #1335342

    Hi,

    The meta tag gets replaced with “index,follow” when we deactivated every plugins except for Woocommerce, which is odd. This means that another plugin is adjusting the meta tag when the shop plugin is enabled (see private field). You may need to activate the plugins one at a time in order to find which one is adjusting the meta tag when Woocommerce is enabled.

    Thank you for your patience.

    Best regards,
    Ismael

    #1335392

    Hi,

    Thank you for your help! I found the plugin causing the “noindex”. It’s the YOAST SEO plugin. Funny though, but I catually only need it when making pages and events so I can switch it on aand off when I need it.

    Woohooo so happy!

    Kind regards,

    Jojanneke

    #1335403

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘No Index at homepage due to woocommerce’ is closed to new replies.