I have a live WP site, which I have taken a copy of and put onto a new server for testing / development.
Once I put the website on the new area I updated the site url and home url in the database, ensured the .htaccess file was showing correctly and everything in the wp-config was correct.
When I try and access a page which is not the Home Page or wp-admin area I get a 404 error.
I have tried resaving the permalinks, ensuring all urls in the database are the new servers ip’s , and disabling each plugin one by one to see if there was any conflicts but nothing seems to work.
Is there something I am missing / any advice.
Thank you
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
As MrWhite mentioned above, mod_rewrite was not enabled on the new server. Enabled that and all is working fine now.
Thanks for your help 🙂
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0