I’ve tried several different ways to switch a site from nginx to apache and haven’t found an efficient way to do so.
Each time, only the home page shows up as a live and working page. All other pages are present in the “pages” section on WP but when clicked on to view or edit, they show a 404 error.
What I’ve done as a workaround is started a fresh install of wordpress, then exported WP data from the nginx install and uploaded it to the apache “fresh” install of WP.
Very inefficient as my images, (though present in my wp_ folders) don’t show up in my media.
What am I missing and how can I avoid all this extra work in the future.
I don’t know a lot about working with the mySQL database or in the myPHP files.