Many users faced WordPress installation error in CyberPanel as it is not working some time throwing installation failed. error message: [404]. In this article, I will tell you a few reasons and possible solutions for this issue.
Sometimes you want to install WordPress from the CyberPanel and it through this error and you are not able to install it. There are a few reasons for this.
WordPress installation error Reasons:
Your CyberPanel installation goes well but may be there is no WP nCLi on your server.
If you have allpied any kind of mysql optimizations may be after that also this function will not work.
Possible Solution:
Update you cyberpanel to the latest version and it may be resolve the non WP CLi issue follow this article to update cyberpanel.
If you want to check MySQL and dont know how to check just access your SSH and go to the /etc/my.cnf or /etc/mysql/my.cnf and paste the content in coment i will check if there is any optimizations or not.
Some time you face 404 error on all internal pages of your website. This often happened when you move your website from one server to any other or change any internal configurations. Here in this article we will tell you How to resolve 404 error from website internal pages on LiteSpeed Cyberpanel.
Without going deep let me tell you the reason for this. This happened due to the permissions or the rewrite rules. As after changes Open litespeed need a restart.
To resolve 404 error from website internal pages on LiteSpeed/Cyberpanel we just have to do 2 steps.
Steps to resolve 404 error from website:
1. Fix permissions.
Login to your cyberpanel on port 8090.
https://<YOURIP>:8090
Got to the website->list websites then click on Manage button present in front of your domain which have issue.
Scroll down and find file manager click on it and here you will find fix permissions button click that a green pop up appears.
2. Restart LiteSpeed Webserver
After doing all restart the Open liteSpeed webserver. You can do it two way one through command.
Systemctl restart lsws
.Or go to the Server status-> LiteSpeed status and press restart.
If you host your WordPress websites with OpenLiteSpeed you may get a 404 error on the permalink of your website. here in this article, I will explain how you can fix ix WordPress 404 permalink OpenLiteSpeed.
OpenLiteSpeed is the free version of LiteSpeed Enterprise and this free version is not as stable as the paid version. Not OpenLiteSpeed WordPress permalink often gives 404 error. When you move site from one server to another or made any change this error comes up. Here i will discuss few methods to solve this issue.
Methods to fix WordPress 404 permalink OpenLiteSpeed:
Method 1 Fix Permissions:
If you are using CyberPanel and you did any change of website after that 404 error come to the site you can fix it by doing few thing.
Fix permissions from the file manager
Restart OLS
Fix Permissions from the file manager:
To fix permission you have to log in to your cyber panel then go to the Websites-> List website select the domain for which you have to fix the issue then press the Manage button present in front of the website.
On the Website Dashboard you can see File Manager press to access the file manager.
In file manager click Fix Permission button and you can see the success massage in green color.
After doing all now its time to restart OLS.
Restart OpenLiteSpeed:
To restart OLS from CyberPanel you have to go on Server Status ->LiteSpeed Status and then you see two-button shutdown and reboot. Press the Reboot button and you can see a success message.
Method 2 htaccess:
An other reason is the missing rules in htaccess for WordPress. To check htaccess rules. Go to the Public_html folder of the website. If you have CyberPanel go to the Website->List Websites then press Manage button.
Then go to the file manager from the Website Dashboard.
In file manager open and open .htaccess file and see if there is rules or if the file is empty.