Question

Wordpress Dashboard not working properly. Whenever I try to open any feature (posts, plugins page) it results in nginx 404 page?

Hi

I have a 5$ droplet running wordpress on LEMP. I have logged into this website almost after 2 years (it has quite a lot of content on it)… I need to move it to a different droplet now with more automation (easy engine) and wanted a WXR file (wordpress export) for importing stuff to the new website. However on loggin in I found out that major buttons (like export, plugins, comments etc) result in an nginx 404 page (they simply wont open).

Now I can not actually take a back up of the database and wp-content folder because all of that is now filled with old and clogging stuff that I want to get rid of. I will do a fresh install and just need the wxr file. Any workaround to this?

Subscribe
Share

Are you seeing these 404s only in the WordPress export interface or throughout the admin interface? Are you seeing any issues with the public site?

I would also recommend checking your error log for any indication of an issue (make sure to check php-fpm as well as nginx directories in /var/log


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@jairmamtani

The best thing to do would be to check the error log using tail.

tail -50 /var/log/nginx/error.log

If you can paste the output in a code block, we can take a look and see what may be going on.

That being said, if you’ve only logged in to the site once in nearly 2 years, there’s a lot that could or potentially may have happened as a result of not keeping WordPress and associated plugins up to date as required. There’s been quite a few security patches/releases in that time and if they have not been applied, the risk for being hacked in definitely high and may potentially be a source of issues.

We can take a look at the error logs to see what’s going on, though if the site hasn’t been updated or used much in those 2 years, you may be doing quite a bit of cleaning and securing in the process to make sure the data that you export is fit to be imported elsewhere.