DirectAdmin面板网站伪静态设置教程
Warning: Undefined variable $output in /home/wwwroot/xiaoyuo.com/wp-content/themes/ripro-child/functions.php on line 68
本文共546个字,预计阅读时间需要2分钟 发布时间: 2024-10-4 共3.17K人阅读
DirectAdminDirectAdmin伪静态DirectAdmin面板网站伪静态
DirectAdmin面板网站伪静态设置教程
SKloong的虚拟主机web程序使用的是Apache,设置伪静态比较方便。直接在网站目录内的.htaccess文件编辑就可以。
以WordPress为例,WordPress的伪静态规则是:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
我们将这个内容,直接填入.htaccess文件内即可。
在文件右侧有编辑按钮,知识兔点击它进入编辑界面。填入伪静态规则后,直接点击另存即可。


现在你的WordPress站点就可以使用固定链接了。
下载仅供下载体验和测试学习,不得商用和正当使用。
常见问题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