At present, we still use the WORDPRESS program when we build a website, and we use the pseudo static when we use the WP program. The pseudo static settings are different in different WEB environments. Generally, we use the Nginx and Apache engines. Here we simply record the pseudo static setting methods under these two engines.
1. Apache pseudo static settings
Generally, we use the Linux virtual host and the cpanel panel. The virtual host is usually an Apache engine. Then it is relatively simple for us to set pseudo static, and directly throw a. htaccess file in the root directory of the website.
<IfModule mod_ rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !- f RewriteCond %{REQUEST_FILENAME} !- d RewriteRule . / index.php [L] </IfModule>
In this way, we can set the fixed link in the background to Jingtian.
2. Nginx pseudo static setting
For Nginx pseudo static settings, we need to coordinate with the conf file settings.

For example, if we use the pagoda panel NGINX environment, we need to set pseudo static in the current site, select the built-in WP pseudo static rules, and then set fixed links in the WP background.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge