Installation, configuration, optimization and troubleshooting for WordPress.
Installing WordPress via Softaculous
In cPanel click on Softaculous Apps Installer, choose WordPress and click "Install". Select the domain, set an admin username (do not use "admin"), strong password, site title and email. Click "Install" and WordPress will be ready in seconds.
Optimizing WordPress for speed
Install the LiteSpeed Cache plugin (free for BeoHosting customers), enable page caching, optimize images, minify CSS/JS, use the latest PHP version from cPanel and regularly clean the database of unnecessary revisions and transients.
How to set up WordPress auto-update
In the WordPress admin panel (yourdomain.com/wp-admin) go to Dashboard > Updates and click "Enable automatic updates for all new versions". For plugins: Plugins > Installed Plugins - click "Enable auto-updates" next to each. Alternatively, in Softaculous: Installations > Edit Details > tick "Auto Upgrade". Always make a backup before major updates.
How to clear WordPress cache
For LiteSpeed Cache (recommended for BeoHosting): in the admin bar click LiteSpeed Cache > "Purge All". For more precise clearing: LiteSpeed Cache > Toolbox > Purge. Browser cache: press Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac). If you use Cloudflare: Caching > Purge Everything. Do not clear cache too often - let it rebuild.
How to reset the WordPress admin password
The easiest way is to click "Lost your password?" on the wp-login.php page. If you do not have email access, log in to cPanel (yourdomain.com:2083), open phpMyAdmin and select the WordPress database. Find the wp_users table, click "Edit" next to the admin account, in the user_pass field select the MD5 function, enter a new password and click "Go".
How to fix White Screen of Death (WSOD)
A blank white page is usually caused by an incompatible plugin or theme. In cPanel File Manager go to /public_html/wp-content/ and rename the "plugins" folder to "plugins_old" - this deactivates all plugins. If the site works, return plugins one by one. If that does not help, rename the active theme folder. Also add define('WP_MEMORY_LIMIT', '256M') in wp-config.php.
How to update WordPress manually
Download the latest version from wordpress.org/download/ and unpack the ZIP. Make a backup of the site and database. Via cPanel File Manager or FTP delete the wp-admin and wp-includes folders on the server, then upload the new versions. Also upload root files (wp-login.php etc.) but DO NOT touch the wp-content folder. Open yourdomain.com/wp-admin - if a database upgrade is needed, a message will appear.
How to create a WordPress staging site
In cPanel create a subdomain (e.g. staging.yourdomain.com) and a new MySQL database. Copy files from public_html to the subdomain Document Root. Export the production database through phpMyAdmin and import it into the new database. In the staging site's wp-config.php change DB_NAME, DB_USER and DB_PASSWORD. In the wp_options table change "siteurl" and "home" to https://staging.yourdomain.com.
How to fix "Error Establishing Database Connection"
This error means WordPress cannot connect to the database. Check the credentials in wp-config.php (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST) via File Manager. The exact database credentials can be found in cPanel under MySQL Databases. If credentials are correct, add define('WP_ALLOW_REPAIR', true) to wp-config.php and open yourdomain.com/wp-admin/maint/repair.php. After the repair, be sure to remove that line for security reasons.
How to migrate WordPress to a new domain
The easiest way is the Duplicator plugin: install it, create a package (Packages > Create New) and download installer.php and archive.zip. Upload both files to the public_html of the new domain and open newdomain.com/installer.php. For manual migration: export the database, download the files, upload to the new domain, import the database and update wp-config.php. Be sure to replace the old domain with the new one in the database using WP-CLI: "wp search-replace olddomain.com newdomain.com".
How to set up WordPress Multisite
Multisite allows managing multiple sites from one installation. Deactivate all plugins, then in wp-config.php add define('WP_ALLOW_MULTISITE', true). Refresh the admin panel and go to Tools > Network Setup - choose subdomains or subfolders and click Install. WordPress will show code for wp-config.php and .htaccess - copy exactly. Add new sites through Network Admin > Sites > Add New.
How to fix WordPress file permissions
Correct permissions: folders 755, files 644, wp-config.php 600. In cPanel Terminal: "cd public_html" then "find . -type d -exec chmod 755 {} \;" for folders and "find . -type f -exec chmod 644 {} \;" for files. Then "chmod 600 wp-config.php". Alternatively, in File Manager right click > "Change Permissions". Never set 777 - it is a serious security risk.
How to deactivate a plugin without admin panel access
If you cannot access the WordPress admin panel, deactivate the plugin via File Manager. Navigate to public_html/wp-content/plugins/ and rename the problematic plugin's folder (e.g. "bad-plugin" to "DISABLED_bad-plugin"). WordPress will automatically deactivate it. If you are not sure which one is causing the issue, rename the entire "plugins" folder to "plugins_backup" - this deactivates all plugins. Then return them one by one.
How to set up WordPress debug mode
Open wp-config.php and change define('WP_DEBUG', false) to true. Add define('WP_DEBUG_LOG', true) for logging to wp-content/debug.log and define('WP_DEBUG_DISPLAY', false) so errors are not shown to visitors. After diagnostics, be sure to set WP_DEBUG back to false because it slows down the site and may reveal sensitive information.
How to increase WordPress memory limit
In wp-config.php add define('WP_MEMORY_LIMIT', '256M') above "That's all, stop editing!". For the admin panel also add define('WP_MAX_MEMORY_LIMIT', '512M'). If that does not help, check the PHP memory_limit in cPanel through MultiPHP INI Editor as it has priority if lower. Symptoms: white page, "Allowed memory size exhausted" or crashes on import.
How to fix "Briefly Unavailable for Scheduled Maintenance" error
This error means a WordPress update did not complete successfully. Through cPanel File Manager open the site root folder and delete the .maintenance file (enable Show Hidden Files in Settings). The site will work immediately. Check if the update finished in Dashboard > Updates. To prevent the issue, do not close the browser during updates and update plugins one by one.
How to import and export WordPress content
To export: Tools > Export, choose content type and click Download Export File (XML format). To import: Tools > Import, install WordPress Importer and load the XML file. For more advanced needs use the WP All Import plugin which supports CSV, Excel and XML with field mapping.
How to set up WordPress SMTP for reliable email delivery
Install the WP Mail SMTP plugin. In settings enter From Email and From Name, choose Other SMTP mailer. SMTP Host: mail.yourdomain.com, Port: 465, Encryption: SSL, Authentication: On. Username: full email address, Password: password. Click Save and test in the Email Test tab. SMTP ensures reliable delivery because PHP mail() often ends up in spam.