Nginx got 404 Error Page at The WordPress Admin Panel

If you get 404 error page when you click the links at the WordPress admin panel using Nginx, here is the solution.

Find the file:

wp-admin/admin-header.php

Open it with text editor, add the following code before the head<?php

<base href=”/wp-admin/” />

Then refresh your page.