Last update at :2023-12-26,Edit by888u
The first method:
Add the following code at the beginning of the WordPress configuration file wp-config.php:
Note: This code should be added before the php tag.
The second method:
If you are using the environment installed by the LNMP one-click installation package, the website configuration file will include the static configuration file of wordpress
include wordpress.conf;
At this time we only need to add the following code at the end of the wordpress.conf static configuration file:
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
Just restart nginx.
Recommended site searches: Ministry of Industry and Information Technology registration query, free international domain name, US attack defense server, US virtual host, foreign domain name, website registration information query, Hong Kong server defense, registration number query, domain name information query, Chinese international domain name,
p>
发表评论