Plesk panel nginx wordpress 404 ve icon sorunu çözümleri

Kaan GİRGİN

Administrator
Yönetici
16 Tem 2019
127
20
Wordpress sitenizde alt linkler 404 not found hatası alıyorsanız ve iconlar gözükmüyorsa aşağıdaki kodları

alan adları / alan adı / apache ve nginx ayarları / ek nginx direktif kutucuğuna ekleyin.

Kod:
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;
rewrite ^.*$ /index.php last;
}
 
Son düzenleme:

Nimlot

New member
15 Mar 2021
3
0
Merhaba Kaan

Bu değerli bilgin için çok teşekkür ederim.

Saygılarımla