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.