0

WordPress is installed in the root of the site. I can't log in to my uploaded file, I find myself on page 404. For example, I upload a new folder to the site, which is separate from WordPress index.php.

How do I access it? I want my index.php my catalog was opened via the page URL and I did not get to the 404 WordPress page.

I am grateful in advance.

WordPress Version 6.5.5, Nginx Server

1 Answer 1

0

i need more info but i think you have rewrite issue. use this in nginx config:

location /
{
     try_files $uri $uri/ /index.php?$args;
}

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.