Lütfen aşağıda ki kodu dener misiniz? Ayrıca .htaccess diye bir dosya oluşturursanız çalışmaz. Direk vhost-user.conf gibi kullanıcınıza ait conf dosyasının içerisinde eklemeniz gerekiyor.
#ignored: condition 0
if (-f /home/***/public_html/wp-content/cache/all/$1/index.html){
set $rule_0 2$rule_0;
}
if ($rule_0 = "21"){
rewrite ^/(.*) /"/wp-content/cache/all/$1/index.html" last;
}Eğer yukarıdakinde sorun yaşarsanız aşağıdakini deneyin.
location / {
rewrite ^/(.*) /wp-content/cache/all/$1/index.html" break;
}
tşekkürler hocam sorun halloldu.Sağolun