1. Websta Hosting
WordPress & One-Click Installs

Common WordPress Issues on DirectAdmin

Common WordPress Issues on DirectAdmin

500 Internal Server Error

Usually caused by .htaccess or a plugin conflict.

  1. Rename public_html/.htaccess to .htaccess.bak.
  2. If the site loads, go to Settings → Permalinks → Save to regenerate .htaccess.
  3. If a plugin caused it, deactivate all plugins and reactivate one by one.

"Error Establishing a Database Connection"

Check that wp-config.php values match your DirectAdmin database:

  • DB_NAME → yourusername_dbname
  • DB_USER → yourusername_dbuser
  • DB_PASSWORD → your DB password
  • DB_HOST → localhost

PHP Memory Limit

Add to wp-config.php:

define('WP_MEMORY_LIMIT', '256M');

Or increase via DirectAdmin → PHP Configuration.

404 on Pages (Permalink Issue)

Go to WordPress Admin → Settings → Permalinks → Save Changes. This regenerates .htaccess.

White Screen of Death

Enable debug logging in wp-config.php:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);

Check wp-content/debug.log for the error.

Upload Size Too Small

In DirectAdmin → PHP Configuration, increase:

  • upload_max_filesize → 64M
  • post_max_size → 64M (must be ≥ upload size)
Still need help?

If this article didn't answer your question, our support team can help.

Contact support
All articles More in WordPress & One-Click Installs