• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / How to stop 500 errors from bots probing

How to stop 500 errors from bots probing

  • Unknown's avatar
    ncrusty · Member · Aug 10, 2024 at 5:28 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I am seeing lots of 500 errors from bots that are apparently probing around all of my WordPress sites, on URLs like the following that aren’t supposed to be directly accessed… here’s the few I see a lot.

    /wp-includes/blocks/
    Undefined constant “ABSPATH” in /var/www/html/wp-includes/blocks/index.php:8
    Stack trace: 0 {main} thrown in /var/www/html/wp-includes/blocks/index.php on line 8

    /wp-settings.php
    Undefined constant “ABSPATH” in /var/www/html/wp-settings.php:33
    Stack trace: 0 {main} thrown in /var/www/html/wp-settings.php on line 33

    /wp-admin/includes/admin.php
    Call to undefined function get_locale() in /var/www/html/wp-admin/includes/admin.php:16
    Stack trace: 0 {main} thrown in /var/www/html/wp-admin/includes/admin.php on line 16

    This happens to me with any brand new WordPress install, right out of the box.

    Is this expected? Or is there something I’m supposed to do, or can do, to block bots from probing around like this and causing these errors?

  • Unknown's avatar
    staartmees · Member · Aug 10, 2024 at 6:39 pm
    • Copy link Copy link

    We can’t help as your sites aren’t running on the wordpress.com platform. You must take a look in the documentation at wordpress.org or find you a good hosting provider who knows his job

  • The topic ‘How to stop 500 errors from bots probing’ is closed to new replies.

Tags

  • .org
  • account

About this topic

  • In: Support
  • 2 participants
  • 1 reply
  • Last activity 1 year
  • Latest reply from ncrusty

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions