New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

404 Not Found - WordPress Pretty Links doesn't work

Started by luki2p, January 23, 2019, 05:11:26 PM

Previous topic - Next topic

luki2p

Hello Guys!

I am new on CentOS. I have installed the CWP7 with Nginx Only webserver. Hovewer, I have trouble problem with permalinks on my WordPress site.

When I use the "ugly links"  (?p=123) - it works well, but not with enabled pretty links - then on each subpages I see:
Quote404 Not Found
nginx/1.14.2

I spend all day on it, without success. Please help.

luki2p

Ok, I fixed! :)

Edit:
sudo nano etc/nginx/conf.d/vhosts/DOMAIN_NAME.conf

And add this code in location block:
try_files $uri $uri/ /index.php?q=$uri&$args;

ekgrad