CyberPanel installs WordPress and configures pseudo-static rules

How to install WordPress in CyberPanel and configure pseudo-static

CyberPanel It is a foreign , and the previousThe management panel is different. CyberPanel's function is biased towards the virtual host function. User permissions can be customized to allow users to log in to CyberPanel to manage virtual hosts. It belongs to the virtual host control panel, and you can install with one click, which is very convenient. Here's how to install WordPress CyberPanel Install WordPress

CyberPanel official website:https://cyberpanel.net/

Install:CyberPanel Linux Hosting Panel – OpenLiteSpeed ​​Support Simple, Fast and Open Source Control Panel

Next, quickly configure and install WordPress in CyberPanel!

CyberPanel installs WordPress and configures pseudo-static rules-1

CyberPanel offers a variety ofSkin, you can choose your favorite skin in Design.

CyberPanel Install WordPress

After installing the CyberPanel , you need to install the website first. CyberPanel provides a one-click function, which is very convenient. Start building a WordPress website step by step below.

Step 1: Modify package configuration

On the menu bar on the left side of the CyberPanelThe main functionmiddle clickcombo,existcomboYou can customize the size and other options of each virtual host in .

Click Modify Package. The system defaults to a Default initialization package. Select the package Default on the Modify Package page and modify the , disk space, and traffic to 0. 0 means unlimited use.

Note: The following FTP user numbers,For these three items, 1000 is fine by default. Do not change it to 0 here. After modification, there will be a 404 page .

Two of the extra features

  • Allows creation of fully qualified domains as subdomains
  • Enforce disk limits

You can select it according to your needs. last clickmodify package, when finished start creating wordpress website.

CyberPanel installs WordPress and configures pseudo-static rules-1

Step 2: Install a WordPress Site

After modifying the package, clickThe main functionin the menuwebsite, don't click on the WordPress above, that needs to be paid, you can ignore this option.

existwebsiteClick Create Website to enter the Create Website page.

CyberPanel installs WordPress and configures pseudo-static rules-1

choose package, select the default Default here, or you can also create other types of package options,

select owner, here select admin, the default management user, if you want to assign it to other users, you need to create a new user.

Test Domain This switch needs to be turned off, and then enter your domain name, which needs to be resolved to the server IP address in advance. Do not enter the WWW domain name, just enter the main name directly, and CyberPanel will set the WWW domain name by default.

MailEnter a valid email address, which will be used to install wordpress

select , CyberPanel installs all PHP versions by default. Here, select your commonly used PHP version. The default version is 7.4, which is relatively low. It is recommended to choose php8.0

extra featuresCheck, It is more convenient to directly apply for an for the domain name when creating a website.

After selecting, click theCreate website, congratulations, your website has been created successfully.

CyberPanel installs WordPress and configures pseudo-static rules-1

After the website is successfully created, it is equivalent to opening a virtual host, and then you need to install wordpress on the virtual host

existwebsiteUnder the menu, clickwebsite list, at this time you can see that the website created above already exists in the website list, clickIssue an certificate, will automatically apply for an SSL certificate for the domain name. Then click on the listupper right cornerofmanage, start configuring the virtual host

CyberPanel installs WordPress and configures pseudo-static rules-1

In the management page, pull the page to the bottom, you can see the wordoress+LSCache icon in the installer, click the wordpress icon to install.

CyberPanel installs WordPress and configures pseudo-static rules-1

Enter the WordPress installation page. In the installation details, after entering your installation information, click Install Now. In about a minute, your WordPress will be installed.

CyberPanel installs WordPress and configures pseudo-static rules-1

It is very convenient to install wordpress with CyberPanel, you can install multiple wordpress websites. Different PHP versions can be selected to drive wordpress.

After wordpress is installed, enter the domain name you just set in the browser to access the wordpress website.

CyberPanel installs WordPress and configures pseudo-static rules-1

WordPress installed using CyberPanel is somewhat different from normal installation. CyberPanel installs the LiteSpeed Cache by default.

CyberPanel installs WordPress and configures pseudo-static rules-1

Step 3: CyberPanel configuration pseudo-static

Next you need to set wordpress toAccess, that is, access with the end of .html.

CyberPanel usesFor web servers, OLS is compatible with.htaccess file, but slightly different.

The main difference is that OpenLiteSpeed needs to add a slash/

Openwebsite listmiddlemanage,existConfigurationoptions, clickVirtual host configuration,turn up rewrite piece. Modify the block to:

rewrite { enable 1 rules << <END_rules
RewriteEngine On
RewriteBase /
RewriteRule ^/index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END_rules
}

Then click Save, and the wordpress rules are configured.

CyberPanel installs WordPress and configures pseudo-static rules-1

Then configure the domain name access rules and clickVirtual host configurationnearbyrewrite rules.

Click Select Template and select the following rules to add.

  • Force -> HTTPS
  • Force WWW -> NON WWW
  • Close the xmlrpc and trackback services

CyberPanel installs WordPress and configures pseudo-static rules-1

After returning to the wordpress background, after installing some wordpress plug-ins, the website can run normally.

uzbox
uzbox

Leave a Reply

Your email address will not be published. Required fields are marked *