Server error 500 – in Google Search Console – on the main theme folder

Posted in: Newspaper
Post count: 18

Hi

I have one small question about a server error (500) I receive on Google Seach Console.
It looks like Google search cannot access wp-content/themes/Newspaper/

Do you have an explaining why Google crawler is looking into this directory? Or any tricks to prevent this kind of error.

Thanks in advance,
Kind regards,
John

Post count: 9544

This error is NORMAL when changing themes as while changing things your theme directory loads, which should not normally — meaning, your theme directory is not a public page.

You can simply mark the error as fixed, and move on with your life.

This may happen EVERY time you change a theme, and this is why the theme docs, and many sites, suggest using a “maintenance” plugin while doing any major changes to themes as it shows a “working on it” message to Google vs exposing the theme folder. But that is sometimes a pain to deal with, too.

Basically, you will get an error when changing themes since the old theme is being inactivated and where does Google go where that is happening?

Nothing to worry about, unless you’re seeing dozens or hundreds of errors, which would be a mis-configuration of site, domain, hacker, etc.

Hope that helps.

ADMIN: likely good to make a note about this in the “install” and “upgrade” pages/docs if not there already, as we’re now going on 3 years of this question around here

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.