The website access directory is http://show.abc.com/, but wordpress is packed in the manage directory below him, so the Accessed home page should also be a http://show.abc.com/manage/
What is the default wordpress URL to access the article is http://show.abc.com/manage? P = 12 form, need to do pseudo static make article access form for http://show.abc.com/manage/12
Configure nginx as follows:
Server {
Listen 80;
Server_name show.abc.com;
Access_log logs/access_show.abc.com.log;
Error_log logs/error_show.abc.com.log;
Index index.html index. php;
Location /{
Root/web/html/show;
}
Location/manage /{
Try_files $ uri // manage/index. php;
}
Location/manage/wp-content {
Alias/web/html/show/manage/wp-content;
}
Location/manage/wp-includes {
Alias/web/html/show/manage/wp-includes;
}
Location/manage/wp-admin {
Alias/web/html/show/manage/wp-admin;
}
Location ~ \. Php $ {
Root/web/html/show;
Fastcgi_pass 127.0.0.1: 9001;
Fastcgi_param SCRIPT_FILENAME/web/html/show $ fastcgi_script_name;
Include fastcgi_params;
}
}