Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Hướng dẫn sử dụng Plesk (http://quantrinet.com/forum/forumdisplay.php?f=195)
-   -   Cách fix lỗi Wordpress Nginx Not found trên Plesk (http://quantrinet.com/forum/showthread.php?t=10152)

hoctinhoc 11-06-2018 01:06 AM

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;
}



Bây giờ là 07:19 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.