-1
需要heaccess规则如下条件使用WP蛞蝓需要的htaccess重写规则
SITEURL /塞到SITEURL /缓存/ slug.html
即
http://192.168.1.52/development/icache/hello-world/
到
http://192.168.1.52/development/icache/cache/hello-world.html
需要heaccess规则如下条件使用WP蛞蝓需要的htaccess重写规则
SITEURL /塞到SITEURL /缓存/ slug.html
即
http://192.168.1.52/development/icache/hello-world/
到
http://192.168.1.52/development/icache/cache/hello-world.html
RewriteEngine On
RewriteBase /development/icache/
RewriteRule ^hello-wo/$ /development/icache/cache/checkout.html? [L]
缓存是您的类别吗?或者它对所有的URL都是一样的?我认为你可以在WP的固定链接设置中做一些类似的结构,例如在自定义设置中,在dasboard中有“/cache/%postname%.html”:/wp-admin/options-permalink.php – Mohsin
没有它的我的缓存文件夹,这是我的新插件 –