nginx wordpress隐藏index.php入口文件
添加伪静态
location /
{
	 try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
设置

添加伪静态
location /
{
	 try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
设置

评论
评论列表
暂无评论,快来抢沙发吧~