WordPress 如何开启伪静态

发布于 2021-12-01 更新于 2022-05-09 当前分类:» 学习笔记 阅读数:266

做网站制作好之后,如果网站做SEO优化时,需要进行伪静态设置,同样也可以通过网站设置选置进行设置

WordPress伪静态设置方法

  1. 登陆到wordpress后台,点击左侧的设置——固定链接
    a08b87d6277f9e2f7c76b1111c30e924b899f36c
  2. 选择“自定义结构”,输入伪静态规则代码。这里提供了2种方式供你参考:/%category%/%post_id%.html、/%category%/%postname%.html
  3. 设置保存后,您可打开内页任意一篇文章,查看是否设置成功。


发布评论


Warning: error_log(C:\wwwroot\16km.net\wp-content\plugins\spider-analyser/#log/log-3010.txt): failed to open stream: No such file or directory in C:\wwwroot\16km.net\wp-content\plugins\spider-analyser\spider.class.php on line 2900