Hi
I see from other threads that people have reported Error 500 in Google Search Console for some enfold files such as:
wp-content/themes/enfold/framework/php/inc-avia-importer.php
wp-content/themes/enfold/framework/php/class-tgm-plugin-activation.php
wp-content/themes/enfold/framework/php/auto-updates/auto-updates.php
wp-content/themes/enfold/framework/php/inc-autoconfig.php
I haven’t found any particular resolution or advice as to what we should do about this. Should we block these urls from being indexed?
Do you have a suggested robots.txt configuration that you would recommend?
Thank you for your help.
Tia
Hey Tia!
Those are files that we block from google, for security reason.
There is no problem getting 500 error for them, at all.
Nothing that makes issues with your web site.
Thanks you
Cheers!
Basilis
Hi Basilis
Yes, I understood that they should be blocked from Google but my question is should we not try to avoid getting 500 errors in the first place by maybe blocking them in the robots.txt?
What robots.txt do you recommend? Can you show me a sample robots.txt that you approve?
Thank you
Tia
Hi Tia,
You can find examples on how to block files here: http://www.robotstxt.org/robotstxt.html
Thanks,
Rikard
Hi Rikard
Could you please show me the lines I should include in a robots.txt that you approve with regard to Enfold files that should not be crawled?
Thanks
Tia
Hi,
You can disallow those files individually. This is the robot.txt file of the kriesi.at site.
// http://kriesi.at/robots.txt
Best regards,
Ismael
Thanks Ismael
Hi Tia,
Let us know if it is fixed :)
Best regards,
Nikko
Yes, please. Let us know if it’s fixed as I have the same issue.
How do I disallow each file individually?
Thank you!!!
Warmly,
Havi
@havi
Google is your best friend :)
http://www.robotstxt.org/robotstxt.html
Best regards,
Andy