1

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

1
  • 2
    Are .htaccess overrides and mod_rewrite enabled on the new server?
    – MrWhite
    Jan 22 '21 at 10:55
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 🙂

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.