fifalan大佬:
我想自定义wordpress的404伪静态
- # BEGIN WordPress
- ErrorDocument 404 /404.html
- RewriteEngine On
- RewriteBase /
- RewriteRule ^archives/.*$ /index.php [L]
- RewriteRule ^feed.*$ /index.php [L]
- RewriteRule ^page/.*$ /index.php [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- # END WordPress
其中RewriteRule ^archives/.*$ /index.php [L] 这个archives我怎么改成目录的变量URL呢
比如:/manhua/123456.html /xiaoshuo/123456.html,不知道哪个大佬知道,菜鸟懵逼中
googlebot2大佬:
在wp的plugin里改htm
hdwz88大佬:
固定连接哪里有 不用改伪静态 直接用就可以
朔朔大佬:
https://你的域名/wp-admin/options-permalink.php