Google Search Console "Server errors (5xx)"

Posted in: Newspaper
Post count: 41

Google Search Console warns me about a major error for my site and it points me that url which show the Newspaper theme “http://adelturk.com/wp-content/themes/Newspaper”

Would you tell me why it’s keep warning me and what to do…

Post count: 20685
Post count: 41

Hello;

The last link helped alot. I check fixed for all 3 errors. Now it does not not show 2 of them but this link is still on error: http://adelturk.com/wp-content/themes/Newspaper
Why google having problem with that url path? What it could be.
Here is the message from google:
To owner of http://adelturk.com/,
You requested that Google validate your fix of Index coverage issues on site http://adelturk.com/; specifically pages affected by ‘Server errors (5xx)’. However, we found that some pages are still affected by this issue.

It’s also says if I don’t fix that problem Google indexing robot will slowdown itself to indexing my site…

Post count: 20685

Hi,

I could not say why the Google crawler is trying to access the theme folder directly. There would be no need or purpose for that. You should disallow that with a robots file
https://wordpress.org/support/topic/wp-content-themes-directory-leaked-in-google/
https://moz.com/learn/seo/robotstxt

Post count: 41

I add the disallow code in to my robots.txt . I hope it will be okay. Thank you for looking around for solution Simion. extra thanks..

Post count: 5

Are you facing any issues after the disallow code? I am having the same issue as you and have seen a lot of users on Themeforest with the same.

I am hosting several other websites and only the ones with Newspaper theme face this problem.

Could you please advise on how to fixed this problem?

Post count: 20685

Hi,


@Olov
Maybe you should wait a while if you just created the robots file and added that code. Or maybe there are other solutions online that you could try to disallow the themes folder. There aren’t a lot of mentions of this online however, I also searched some more with no definitive solutions found.

Post count: 40

I have the very same error !

Of course we can disallow this folder via robots, but question is why does Google want to access theme folder ? It seems this has to do with the theme itself and its settings.

Post count: 20685

@mmedia6587 I would say that denying access to the WordPress themes folder would be done server level or htaccess. If it is already crawled you could remove that URL and then disallow it
https://support.google.com/webmasters/answer/1663419?hl=en
There are many such topics online, please take a look. They are not all related to our theme.

Post count: 5

@Simion C. What would I write in htaccess to block that specific path/page? I only find tutorials on how to block whole websites.

  • This reply was modified 8 years by Olov.
Post count: 40

I found this video on Youtube, maybe it helps:

Post count: 5

@mmedia6587 Cheers man, hopefully this works 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.