Troubleshoot Website Issues Complete Guide
Complete guide with step-by-step instructions.
Website issues happen. This guide helps diagnose and fix common problems quickly.
Common Website Errors
Error 500 - Internal Server Error
Causes:
- .htaccess file misconfigured
- PHP memory limit exceeded
- Plugin conflict
- File permission errors
Solutions:
- Rename .htaccess to .htaccess_old
- If site loads, regenerate permalinks
- Increase PHP memory limit to 256MB
- Deactivate plugins via FTP/cPanel
- Check error logs for details
Error 503 - Service Unavailable
Causes:
- Server overloaded
- Maintenance mode stuck
- PHP workers exhausted
Solutions:
- Wait 10 minutes (temporary overload)
- Delete .maintenance file
- Check with hosting support
- Upgrade hosting if persistent
Error 404 - Page Not Found
Causes:
- URL incorrect
- Page deleted
- Permalink structure broken
Solutions:
- Check URL spelling
- Reset permalinks (Settings → Permalinks → Save)
- Check .htaccess file exists
- Restore deleted page from backup
White Screen of Death
Site shows blank white page.
Causes:
- PHP fatal error
- Memory limit exceeded
- Plugin conflict
- Theme conflict
Solutions:
- Enable Debug Mode:
- Edit wp-config.php
- Add:
define('WP_DEBUG', true); - Reload page to see error
- Increase Memory:
- Add to wp-config.php:
define('WP_MEMORY_LIMIT', '256M');
- Add to wp-config.php:
- Deactivate Plugins:
- Rename plugins folder via FTP
- If site loads, activate plugins one by one
- Switch Theme:
- Rename themes folder via FTP
- WordPress reverts to default theme
Database Connection Error
Error: 'Error establishing database connection'
Causes:
- Wrong database credentials
- Database server down
- Corrupted database
Solutions:
- Check Credentials:
- Open wp-config.php
- Verify DB_NAME, DB_USER, DB_PASSWORD, DB_HOST
- Compare with cPanel database details
- Test Database:
- Try accessing phpMyAdmin
- If can't access, database server down
- Contact hosting support
- Repair Database:
- Add to wp-config.php:
define('WP_ALLOW_REPAIR', true); - Visit: yoursite.com/wp-admin/maint/repair.php
- Add to wp-config.php:
Site Loading Slowly
Diagnosis Steps:
- Test with GTmetrix or Pingdom
- Check page size (should be under 3MB)
- Count HTTP requests (under 50 ideal)
Solutions:
- Enable Caching: Install WP Rocket or W3 Total Cache
- Optimize Images: Compress with Imagify or ShortPixel
- Use CDN: CloudFlare free plan
- Minify CSS/JS: Autoptimize plugin
- Upgrade Hosting: If CPU constantly at 100%
Can't Login to WordPress
Solutions:
- Reset Password: Click 'Lost your password?' link
- Can't Receive Email?
- Reset via phpMyAdmin
- Find user in wp_users table
- Edit user_pass field
- Enter: MD5 hash of new password
- Login URL Changed:
- If using security plugin that changes login URL
- Access via /wp-login.php usually still works
- Too Many Login Attempts:
- Wait 30 minutes
- Or deactivate security plugin via FTP
SSL Issues
Mixed Content Warning
Cause: Some resources (images, CSS, JS) loading via HTTP instead of HTTPS
Solutions:
- Install 'Really Simple SSL' plugin
- Or manually find and replace HTTP with HTTPS
- Use 'Why No Padlock' tool to find mixed content
SSL Certificate Expired
Solution:
- Renew certificate in cPanel
- Run AutoSSL
- Or contact hosting support
Diagnostic Tools
- Error Logs: cPanel → Errors
- GTmetrix: Speed testing
- Google PageSpeed: Performance analysis
- Why No Padlock: SSL troubleshooting
- DNS Checker: whatsmydns.net
- Server Status: downforeveryoneorjustme.com
Need help? Taiwan Web Hosting provides 24/7 support via chat, email, and phone. Contact support.
Ready to Get Started?
Choose hosting and launch your website today with 24/7 support.
