2017-04-12 105 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]