Wp is abbreviated as WordPress – the following are common mistakes for beginners to make WordPress ( WP ) Websites. 7 common errors that you most often encounter, are confused about how to fix errors to make the website work again?
How to fix the most common WordPress errors (WP)
Having trouble with your WordPress ( WP ) blog? Your WordPress website ( WP ) is having an error and you are confused as to what to do? Every WordPress error and can be fixed easily but it can be difficult for inexperienced people. In this article, CreationGuide will learn with you how to fix WordPress ( WP ) errors the easiest way.
1. WordPress Troubleshooting Guide for Beginners
Before you start troubleshooting WordPress errors, we recommend that you create a backup of your website. You can check out our guide on how to create site backups for your WordPress website
Step 1: Check the PHP version you are using
The first thing you need to do is check and try to change the version of PHP that you are using on your hosting. For hosting at the hosting that you registered, to change the PHP version you can follow the following instructions:
Step 2: Disable all WP plugins that you have installed previously
If you can still access the wp-admin page, you can go to the Plugins management page, check all the plugins and then select Deactivate.
If you cannot access the wp-admin page then you need to use an FTP client like FileZilla, Winscp to connect to your hosting.
Once connected, open the root folder e.g. public_html then go to wp-content. Right click on the plugin folder and click Rename. Proceed to rename the folder to plugins.bak
After renaming the plugins folder all your plugins will be deactivated. Then you proceed to rename again from plugins.bak to plugins and try to access wp-admin again and proceed to reactivate each plugin in turn until you find the plugin causing the error.
You can see detailed instructions on how to deactivate a WordPress ( WP ) plugin manually.
Step 3: Change the current interface to default
If you have access to the wp-admin page then go to Appearance -> Themes and proceed to activate a default WordPress theme instead of your current theme.
If you don’t have access to wp-admin then you can connect to the hosting using FTP and go to /public_html/wp-content/themes. Here, proceed to rename the current theme folder you are using.
If your blog has the default theme installed, then WordPress will automatically activate the default theme, but if you have not installed the default theme, you can proceed to login to wp-admin and install a theme. appear in any WordPress theme repository. To install the theme for WordPress see the guide to install the theme for WordPress
Step 4: Update Permalinks (Static Paths)
When Permalinks (Static Links) are not configured properly, you will receive 404 errors when accessing articles, pages, categories on the website ( WP ) . You can update your Permalinks again in wp-admin. Login to wp-admin and Click on Settings -> Permalinks and click Save Changes.
If you do not have access to wp-admin then you can follow step 4 below.
Step 5: Recreate the .htaccess file
Misconfiguration of the .htaccess file is also one of the causes of the 500 error for WordPress. You can edit the content of the .htaccess file using FTP.
Connect to the hosting via FTP and open the root directory containing the source code, eg public_html and you will find the .htaccess file. Right click on the .htaccess file and click Delete.
If you use Winscp and you will need to open show hidden files by pressing Ctrl + Alt + H to see the .htaccess file
Next log in to wp-admin and follow step 4 to create a new .htaccess file for your website.
Step 6: Check the WordPress ( WP ) Address (URL).
If WordPress Address (URL) – WordPress ( WP ) Address (URL) is not configured correctly then you may see errors like many redirects and 404 not found error.
Check your website URL configuration by clicking Settings -> General. Here you need to make sure that your WordPress ( WP ) Address (URL) and Site Address (URL) are being configured correctly.
If you cannot access wp-admin. Please access the hosting by FTP then open the file wp-config.php and add the following 2 lines to the file wp-config.php
After editing, press Ctrl + S to save the file.
Step 7: Reinstall WordPress ( WP ) Core files
You can replace the WordPress core directories like wp-admin and wp-include from the newly downloaded file from the WordPress ( WP ) homepage. To do this see the guide to update the wordpress version of the hosting you have registered.
Hopefully this article will help you know how to handle when your WordPress ( WP ) website encounters an error. If you have any suggestions, you can leave a comment below. In addition, you can refer to some more specific error correction methods below: