i fixing 404 error wordpress site use nginx.
the site under subdirectory of main site, e.g. url www.site1.com/d1. database migrated wordpress site
there 404 error when clicking posts , pages. tried solution @ /etc/nginx/sites-available/[config file]:
location /d1{ try_files &uri &uri/ /d1/index.php?q=$uri&args; }
it eliminates 404 error when clicking posts , pages, wp admin page of www.site1.com/d1/wp-admin has redirection loop error.
how shall fix it?
thanks!
Comments
Post a Comment