Guides
WordPress Troubleshooting Guides by Topic
Something is broken and you want it fixed. Each guide gives the answer first, explains the mechanism second, and hands you the tool that does the job.
Images & media
Main tool: WordPress Image Size LabAlso for this topic: WordPress Image Sizes Cheat Sheet · Disable WordPress -scaled Images · WordPress JPEG Quality Filter · WordPress Media Library Size Calculator
WordPress Thumbnail Sizes: Why One Photo Becomes 8 Files
WordPress turns one large photo into up to 8 files: the original, a -scaled copy and 6 sizes. We tested 28 popular themes, WooCommerce and Elementor.
Read itWooCommerce Product Image Size: Defaults and How to Change
WooCommerce product image sizes: the three defaults, where to change them, why catalog thumbnails crop badly, and how to regenerate old product images safely.
Read itWhy WordPress Adds -scaled to Images and How to Stop It
WordPress adds -scaled to uploads over 2560px. Raise or turn off big_image_size_threshold, then regenerate or re-upload. Measured on WordPress 7.1.4.
Read itStop WordPress Compressing Your Images at 82%
Raise the WordPress JPEG quality default of 82 with one filter, regenerate the thumbnails already stuck at 82, and know when PNG is the better fix.
Read itWhy Your WordPress Uploads Folder Is So Large
Your WordPress uploads folder is too large because one big photo becomes up to 8 files, plus theme sizes. Deregister unused sizes, then regenerate.
Read itWordPress Featured Image Size: 1200×630 + How to Find Yours
WordPress featured image size: 1200×630 px suits link previews, but your theme may crop it. Find the size your theme displays and upload at 2× its width.
Read itWhy WordPress Images Look Blurry After Upload, and the Fix
Blurry after upload? Check whether WordPress capped the file at 2560px or served a too-small size, then fix it. Includes a regenerate test on WordPress 7.1.4.
Read itErrors & crashes
Main tool: WordPress PHP Fatal Error DecoderAlso for this topic: wp-config.php Generator
Error Establishing a Database Connection in WordPress
Fix the WordPress error establishing a database connection: check the four wp-config.php credentials, confirm the database server is up, then repair tables.
Read itThere Has Been a Critical Error on This Website: The Fix
Get past the screen saying there has been a critical error on this website by reading the real PHP message in debug.log and disabling the plugin behind it.
Read itWordPress HTTP Error on Image Upload: Find the Real Cause
Find the cause of a WordPress HTTP error on image upload: read the status code, then check firewall, memory, post_max_size, Imagick, permissions and filename.
Read itFix the WordPress Block Editor Not Loading
Fix a blank or broken WordPress block editor by reading the browser console, checking the REST API, and enabling WP_DEBUG to find the plugin that broke it.
Read itThe WordPress White Screen of Death, Explained
Get your site back from the WordPress white screen of death: turn on the debug log, read the last fatal line, and rename the plugin folder it names.
Read itConfiguration
Main tool: wp-config.php GeneratorAlso for this topic: WordPress Hooks Index · WordPress WP_DEBUG Code Generator for wp-config.php · WordPress Search & Replace SQL Generator · WordPress Max Upload Size Fixer for php.ini & .htaccess
WordPress wp-config.php: What It Does and How to Edit It
wp-config.php holds your WordPress database login, security keys and site settings. See where it lives, what each part does and how to edit it safely.
Read itWordPress Debug Mode: How to Enable WP_DEBUG Safely
Turn on WordPress debug mode with WP_DEBUG, log errors without showing them to visitors, and switch it off again. Copy-paste wp-config.php code included.
Read itWordPress Debug Log Location: Find and Move debug.log
Find the WordPress debug log location, move debug.log outside the web root so visitors cannot fetch it, and fix the WP_DEBUG settings that leave it empty.
Read itWordPress Search Replace Database URL Without Breaking Data
Change a WordPress site URL in the database without blanking widgets, menus or theme settings. Use the WP-CLI command that keeps serialized data intact.
Read itHow to Increase the Upload Limit in WordPress on Any Host
Check your current WordPress upload limit, then raise it in the right place for your host: php.ini, .user.ini, .htaccess, cPanel, Nginx or Cloudflare.
Read itFix "Allowed Memory Size Exhausted" in WordPress
Clear WordPress's "allowed memory size exhausted" fatal error with one wp-config.php line, then find out if your host caps PHP or a plugin is leaking.
Read itServer & .htaccess
Main tool: WordPress .htaccess GeneratorAlso for this topic: WordPress Search & Replace SQL Generator
WordPress Default .htaccess File: Code and How to Restore It
The exact default .htaccess code WordPress writes for pretty permalinks, what each line does, and how to restore the file when posts return a 404.
Read itWordPress .htaccess Redirect Rules: 301s Done Right
Move a URL without losing rankings: which WordPress .htaccess redirect directive to use, where the rules must sit, and how to test without lockout.
Read itWordPress Mixed Content After Moving to HTTPS
Clear WordPress mixed content warnings after an HTTPS move: find the http:// URLs left in the database, replace them safely, and force HTTPS in .htaccess.
Read itWordPress .htaccess Security Rules That Actually Help
The .htaccess rules that shrink WordPress's attack surface: no PHP in uploads, deny wp-config.php, no directory listings, and what each 500 error means.
Read itWordPress Posts Return 404 but the Homepage Works
Fix WordPress posts that 404 while the homepage loads: re-save permalinks, confirm .htaccess is writable, and check AllowOverride and mod_rewrite.
Read itDisable WordPress AI Features: Core vs Plugin vs Host
Switch off WordPress core AI with WP_AI_SUPPORT or the wp_supports_ai filter, trace plugin and host AI panels to their source, and keep AI crawlers out.
Read itWordPress llms.txt: What It Is, How to Add It, Does It Help?
Publish an llms.txt file on WordPress three different ways, and see what Google and the AI companies have published about whether anyone reads it.
Read itWordPress robots.txt Best Practice: What to Put In It
A WordPress robots.txt needs four lines: block /wp-admin/, allow admin-ajax.php and add your sitemap. See which extra rules help and which ones hurt.
Read itBlock GPTBot and Other AI Crawlers in WordPress robots.txt
Block GPTBot, ClaudeBot and other AI crawlers in WordPress robots.txt, see what each block costs you, and know which bots a robots.txt rule cannot stop.
Read itAlso for this topic: WordPress Block Theme Template Hierarchy · WordPress WP_DEBUG Code Generator for wp-config.php
WordPress Block Template Not Applying? Check the Database
Get WordPress serving your theme file again when a block template is not applying: clear the Site Editor copy in the database, then check filenames.
Read itWordPress Block Theme vs Classic Theme: Honest Comparison
Tell a block theme from a classic in 30 seconds, see what each costs editors and developers, and decide whether to switch, stay, or add theme.json instead.
Read itWordPress theme.json Explained: Settings, Styles, Cascade
Understand why settings and styles do different jobs in theme.json, and fix block theme edits that render nothing by working through the WordPress cascade.
Read itWordPress Child Theme Not Working? Fix CSS Not Loading
Child theme CSS not loading? WordPress itself never loads a child style.css. Enqueue it with the parent's real handle, and spot the parents that need none.
Read it