宝塔Linux面板wordpress网站伪静态设置教程
Warning: Undefined variable $output in /home/wwwroot/xiaoyuo.com/wp-content/themes/ripro-child/functions.php on line 68
本文共517个字,预计阅读时间需要2分钟 发布时间: 2024-10-4 共3.32K人阅读
宝塔Linux面板wordpress网站伪静态设置教程
我们在宝塔网站列表上点击对应的网站会弹出来网站设置菜单,如下图

下拉框选择wordpress的伪静态,然后知识兔点击下方保存即可。
wordpress伪静态详细内容(nginx)
location / {index index.html index.php; if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index.php; } } rewrite /wp-admin$ $scheme://$host$uri/ permanent;
下载仅供下载体验和测试学习,不得商用和正当使用。
常见问题FAQ
Warning: foreach() argument must be of type array|object, string given in /home/wwwroot/xiaoyuo.com/wp-content/themes/ripro-child/parts/author-box.php on line 12