2017-04-12 103 views
-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

+0

缓存是您的类别吗?或者它对所有的URL都是一样的?我认为你可以在WP的固定链接设置中做一些类似的结构,例如在自定义设置中,在dasboard中有“/cache/%postname%.html”:/wp-admin/options-permalink.php – Mohsin

+0

没有它的我的缓存文件夹,这是我的新插件 –

回答

0
RewriteEngine On 
RewriteBase /development/icache/ 
RewriteRule ^hello-wo/$ /development/icache/cache/checkout.html? [L]