Tagged: noindex
-
AuthorPosts
-
December 17, 2021 at 1:01 pm #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
December 18, 2021 at 4:31 am #1333315Hi 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,
RikardDecember 18, 2021 at 3:57 pm #1333372Hi 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
December 20, 2021 at 8:11 am #1333494Hi,
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,
IsmaelDecember 21, 2021 at 12:34 pm #1333632Hi Ismael,
I send your remark to my hosting party. I’ll let you know what comes out of this.
Thanks!
Kind regards,
Jojanneke
December 21, 2021 at 2:26 pm #1333646Hi Ismael,
They just adjusted it so you must be able to get in.
Thanks!
Kind regards,
Jojanneke
December 22, 2021 at 12:47 am #1333692Hi,
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,
IsmaelDecember 22, 2021 at 3:09 pm #1333768Hi,
I added the code in the message beneath now. We can also email.
Let me know.Thanks!
Kind regards,
Jojanneke
- This reply was modified 3 years ago by hetRijkvandeKeizer.
December 22, 2021 at 4:30 pm #1333772Oh sorry didnt know this would be the result.🙄
December 23, 2021 at 11:30 am #1333833Mmmm 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
December 23, 2021 at 12:35 pm #1333844Hi,
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,
IsmaelDecember 23, 2021 at 1:26 pm #1333860Hi,
I’m forwarded your reply, lets see what she says and finds out.
Thanks!
December 23, 2021 at 1:47 pm #1333862Hi,
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?
December 26, 2021 at 2:42 am #1333990Hi,
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,
IsmaelJanuary 11, 2022 at 11:30 am #1335059This reply has been marked as private.January 12, 2022 at 6:51 am #1335182Hi,
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,
IsmaelJanuary 12, 2022 at 11:26 am #1335211Hi 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
January 13, 2022 at 4:09 am #1335342Hi,
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,
IsmaelJanuary 13, 2022 at 12:44 pm #1335392Hi,
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
January 13, 2022 at 1:11 pm #1335403Hi,
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 -
AuthorPosts
- The topic ‘No Index at homepage due to woocommerce’ is closed to new replies.