How to set pseudo-static in the appnode panel and how to add wordpress pseudo-static rules

888u

Last update at :2023-12-31,Edit by888u

appnode is a cluster vps or server management panel newly developed by Chinese people. The installation is also very simple, but it is more or less difficult for novices, but it will be fine if you use it a few times. When it was first released, we purchased several serial numbers at once to stock up on the product. After all, the one-year fee is still very cheap. Today, this site will share how to add pseudo-static rules in AppNode, and attach the WordPress pseudo-static rules that were successfully tested on this site.

For those who are using it for the first time, it is difficult to find the pseudo-static settings if you are not careful, as shown below

That is, in the website management - site management - select the built site and click settings to see Rewrite. Click to add pseudo-static rules corresponding to the program used by the site! This website uses wordpress, so the pseudo-static rules of wordpress are added, as follows

The rules are as follows:

WordPress pseudo-static

rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;

if (!-e $request_filename) {

rewrite ^.+?(/wp-.*) $1 last;

rewrite ^.+?(/.*\.php)$ $1 last;

rewrite ^ /index.php last;

}

Copy and paste the above directly into the small pseudo-static settings box, click Confirm, and restart the Nginx program!

If you really can’t find it, you can submit a work order to ask!

Extra small discount: Click to enter the appnode official website and you can get a free 5 yuan voucher, which is not available through official registration directly!

Recommended site search: permanent free cloud server address, ICP fast registration, host hosting, distribution host, 100m virtual host, Korean cn2 server, Ministry of Industry and Information Technology website registration, US server rental, hosting service, Korean cheap server,

How to set pseudo-static in the appnode panel and how to add wordpress pseudo-static rules

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码