Baidu cloud virtual machine BCH Typecho pseudo-static setting method
## the reason:
Last night there is a new blog friends station with Typecho, Baidu cloud virtual machine BCH, the emergence of home-click on any link problems have returned home, looked for help, pseudo-static guess is set incorrectly, it started disc.
First contact with Baidu cloud virtual machine, looked at the background, simple, can not find the setting options, and other manufacturers of different virtual machines are using nginx pseudo-static, but did not find the back entrance that can be set, see the FTP login directory, We found no corresponding configuration file webroot directory, then add one yourself.
Step ##:
1. In a bcloud_nginx_user.conf new desktop file, add the pseudo-static configuration elements:
`` `Php
if (! -e $ request_filename) {
rewrite ^ $ /index.php$1 last (*.);
}
`` `
2. FTP to upload just the new bcloud_nginx_user.conf webroot directory;
3. After the upload is complete back to the BCH Virtual Machine Control Panel, find the "start-stop site" option in the "overloaded site services", click reload it
4. After the above steps are completed, return to Typecho background set - permanent link options, settings you want to display methods.
Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/Baidu-cloud-virtual-machine-BCH-Typecho-pseudo-static-setting-method.htm