How to fix Fix WordPress 404 permalink OpenLiteSpeed- 404 error on OpenLiteSpeed

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.

  1. Fix permissions from the file manager
  2. 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.

Manage Website
Manage Website

On the Website Dashboard you can see File Manager press to access the file manager.

File Manager
File Manager

In file manager click Fix Permission button and you can see the success massage in green color.

Fix Permission
Fix Permission

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.

Restart OpenLiteSpeed:
Restart OpenLiteSpeed:

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.

File Manager

In file manager open and open .htaccess file and see if there is rules or if the file is empty.

If file is empty add these rule and press save.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

and after doing this restart OLS as mentioned above.

Read more: How to create, delete and manage Child Domains in CyberPanel?

Follow US on Facebook / Twitter Instagram .

How to create a Database in CyberPanel?

If you want to create a Database in CyberPanel. And do not know how to do this you are on right place read this article to know how you can create a new DataBase on CyberPanel for your Website.

Table of Contents:

  1. Login to CyberPanel
  2. Create New Database
  3. Access Database

Login to CyberPanel:

First of all visi the CyberPanel login URL to login to your CyberPanel it must be with port 8090, Look like:

https://<somainname/IP>:8090

Provide username and password and login to your CyberPanel dashboard.

CyberPanel Login

Create New Database:

Once you logged in go to the Database->Create Database: in the left menu.

Create New Database
Create New Database

On this create database page you have to select the domain for which you want to create a new database.

select domain
select domain

Now screen ask you to provide the details for database.

  1. Username
  2. Database name
  3. Password
provide the details for database
Provide the Details for Database

When you press Create Database button this will create a new one for you on your server.

you can also list the database for any of your site on sever from Database-> List Database then select the domain and you can see the list.

list the database
list database

Access Database:

To access your database you created you have to go to Database-> PHPMYADMIN. Then press Access Now button.

You can see the PHPMyAdmin screen now. Where you can see all database for all domains. You can check the database your created and do any operation you want to do on this database.

Read more: How to create, delete and manage Child Domains in CyberPanel?

Follow US on Facebook / Twitter Instagram .

Redis One-Click Install through CyberPanel

Redis One-Click Install through CyberPanel

Do you know now from CyberPanel version 2.0.3 you can install Redis on your server using one click? Here we will tell you one-click Redis install through CyberPanel.

Now CyberPanel made the install and use of Redis cache on your server very easy.

Redis is an open-source cache use to cache database, and use as a message broker. Nowadays it is very important to use cache and boost your website. CyberPanel helps you to do this.

One-Click Redis install Through CyberPanel:

Follow these steps to setup Redis on your server.

  1. Login to CyberPanel
  2. One-Click Redis Install
  3. Install Redis PHP extension
  4. Setup Redis on WordPress using LS Cache

Login to CyberPanel:

Login to your CyberPanel using the credentials. Follow the link with port 8090.

https://<Your_IP>:8090
CyberPanel

One-Click Redis Install:

To install Redis on your server you have to go to the Manage Services->Application -> Redis then you can see the install button there. Click that and your Redis installed.

https://<Your-IP>:8090/manageservices/manageApplications
Redis Install

Now your Redis is installed and you have to install PHP extension to run properly.

Install Redis PHP extension:

Now go to the PHP-> Install Extension Then you have to select PHP version for which you want to install Redis Extension. You can also follow this link.

https://<Your-IP>:8090/managephp/installExtensions
PHP Extension

Now search redis on the search bar and you can see redis PHP extension press the Install button and everything is good to go.

Redis

Setup Redis on WordPress using LS Cache:

Now it’s time to setup Redis on your WordPress site. We will tell you here how you can setup Redis on your WordPress site without any extra plugin. Ls cache plugin will all do for you. Let’s begin how to do.

  1. Go to the LiteSpeed Cache -> Cache option in the left menu
  2. Then go to the Object
  3. Turn on object Cache and set method to Redis
  4. Change port to 6379 and press save
  5. You can check here if the Redis extension and connection test are passed then it’s good to go.

Read more: How to create, delete and manage Child Domains in CyberPanel?

Follow US on Facebook / Twitter Instagram .

Reset or Change CyberPanel Admin Password

Reset or Change CyberPanel Admin Password

Do you know how to change CyberPanel Admin Password? Read this short article to check and know how to change or reset the admin password on CyberPanel.

Methods to Change or reset CyberPanel Password:

  1. Reset Cyberpanel Password using Command line.
  2. Change Password From CyberPanel

Reset CyberPanel Password using Command line

Mostly you use this method when you don’t have your CyberPnael Credentials are forgotten your CyberPanel password. And you have root SSH access to your system.

To change the Cyberpanel password from the command line you just need to run a simple command.

adminPass Your_New_Password

This command helps you to reset your password easily without having any CyberPanel access.

Reset CyberPanel Password using Command line
Reset CyberPanel Password using Command line

Change Password From CyberPanel:

If you have your CyberPanel admin account access and you want to change it you just need to follow these easy steps.

Login to your cyberpanel account using your credentials on port 8090.

https://<your_ip>:8090

Once you login into your account clicks on the arrow on the top of your cyber panel account.

CyberPanel Profile
CyberPanel Profile

Then click the Edit Profile button. You can see a screen that ask you to select the account for which you want to change the password of CyberPanel.

Edit Profile
Edit Profile

On this page, you can see you can change the password for your account and you can easily generate a password by clicking the generate password button.

Generating a password is a good move because CyberPanel auto-generate password will always generate a strong password.

Change CyberPanel Admin Password
Change CyberPanel Admin Password

Read more: How to create, delete and manage Child Domains in CyberPanel?

Follow US on Facebook / Twitter Instagram .

Get 15$ Free on Digital Ocean, $15 Free Promo Code on Digital Ocean 2021

Get 15$ Free on Digital Ocean

Are you looking for Promo Code on Digital Ocean? Get 15$ free credit on digital ocean using this Promo code.

Use this Promo code and get 15$ free on Digital ocean.

You can use these Free 15$ for your Droplet and get a 1CPU basic plan free for three months.

Free $15 Coupon Code for Digital Ocean:

Use this Code to get 15$ Free Code

DOPRODUCT15

Here is another one you can get free digital ocean credits using this also.

LOWENDBOX
Free $15 Coupon Code for Digital Ocean
Sign Up Now

Digital Ocean is also giving $100 for 60-days on signup. Go here and get it.

Other Coupon Code for Digital Ocean:

Get 10$ free more

DROPLET10
ACTIVATE10

Go to digital ocean and enjoy free credit now.

How to Install Node Js on Windows?

Follow US on Facebook / Twitter Instagram .

Read More: How to migrate WordPress Site using Migrate Guru Step by Step guide

How to Setup Catch-All Email Account in Postfix?

Do you want to catch-all emails in postfix? Does missing emails due to misspelling addresses bothered you? Then this article is for you.

A catch-all email account is used to get all emails sent from every email account of your domain. No matter that email account exists or someone misspelled that email. Catch-all is usually used when you do not want to lose any email due to the wrong email address or email that did not exist.

Here we discuss all steps that are needed to set up a catch-all email account in Postfix.

Follow along so you can easily setup and never miss any Email.

Create Catch All Account:

The first step is to create a catch-all account where you will receive all emails. Which are lost due to misspelling or non existing email?

To do so you have to add a virtual alias to the Postfix server. The path of file where you have to add the alias is /etc/postfix/virtual.

You have to edit this file in your favorite Editor I chose vi editor. Use this command to edit the file.

vi /etc/postfix/virtual
Setup Catch-All Email Account in Postfix

Now add the address for catch-all at the end of this file. Add the address like:

@yourdomain.com username

You can also specify any email account where you want to catch-all emails. You can specify different email account for this operation also. like:

Support@example.com Support@example.com
team@example.com  team@example.com
help@example.com help@example.com

If you didn’t specify the valid account then your valid account’s email will also go to that specific email you specify for catch-all. This account helps to Catch-all email that you miss due to non existing account or misspelled email addresses.

After adding these Alias to /etc/postfix/virtual save and exit.

After this we have to run a command to execute this file again.

postmap /etc/postfix/virtual

Now your updated file is loaded shift to next step.

Setup Postfix Configuration:

After editing the virtual file now its time to do some configurations in the postfix configuration file. In order to do this go to the file etc/postfix/main.cf. Edit this file in vi or any other editor you like. for vi use this command:

vi /etc/postfix/main.cf

you have to add virtual_alias_maps in this file add this line at the end of this main.cf file:

virtual_alias_maps = hash:/etc/postfix/virtual

Reload Postfix for new settings:

Now Postfix needs to reload so it can fetch the new settings. To reload postfix run the command:

systemctl reload postfix
systemctl reload postfix

Now all done good to go.

How to Setup Two Factor Authentication in CyberPanel?