View Single Post
Tuổi 11-06-2018, 01:06 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Cách fix lỗi Wordpress Nginx Not found trên Plesk
Cách fix lỗi Wordpress Nginx Not found


Thêm dòng sau vào Additional nginx directives trong Domains > example.com > Apache & nginx Settings



Tham khảo thêm: https://support.plesk.com/hc/en-us/a...cept-index-php


Mã:

if (!-e $request_filename) { 
set $test P; 
}
if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon|internal-nginx-static-location)) { 
set $test "${test}C"; 
} 
if ($test = PC) { 
rewrite ^/(.*)$ /index.php?$1; 
}
  Trả lời ngay kèm theo trích dẫn này