• George Moureau

    (@georgepiccexcellencecom)


    I’ve been running wordpress on my development Mac for a couple of years using MAMP. Out of the blue I started getting nginx 502’s for all wordpress pages except the home page. It’s a blended site, some pages php some wordpress. All php pages are fine.

    I uninstalled and reinstalled WordPress then imported my backup. Now I’m getting 404 errors for all WordPress pages except the home page, again the php pages are fine.

    I have reset permalinks several times. Checked the .htaccess file (not sure if that matters with nginx).

    A typical url is localhost:8888/individual-learning/

    I’m using MAMP, PHP 7.4.33 Mysql 8.0.40

    I’ve been search the web but am running out of ideas

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    404 indicates failure to communicate with the server. Reasons for this failure to communicate with the server can vary.
    – it could be configuration issue
    – it could be memory issue
    – it could be permalinks issue, try reviewing this: How to fix 404 error when using Pretty Permalinks?
    – it could be optimization issue
    – it could be a conflict with plugin: try resetting the plugin folder ; https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
    – it could be a conflict with theme: try switching to the default theme for a moment via FTP and see if that resolves the issue.
    – check for .htaccess file presence and check if the default wordpress mod-rewrite code is there or not. There are times when .htaccess file is not writable or gotten deleted
    – Check the server error log for your hosting account for any specific error message. Ask your webhost for assistance to locate them.

    Thread Starter George Moureau

    (@georgepiccexcellencecom)

    Yes it could be configuration

    no, not memory issue

    not permalink issue

    disabled all plugins, did not correct the problem

    .htaccess is present with mod-rewrite code present.

    I am not finding any help in any error log. I’ve enabled wordpress logging but I’m not getting any errors recorded in debug.log

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.