Staging site front end pages showing 404
-
Hello. I am having an issue with my staging site front end pages showing a 404 error. The backend pages and home page work fine but sub pages dont work so assume its htaccess related.
Lets say I have mydomain.com.au and then I’ve made a copy as mydomain.com.au/staging/. When you view mydomain.com.au/staging/ and admin pages it works. But if you view mydomain.com.au/staging/shop it shows the live site with a 404 (as /staging/shop does not exist on the live site).
If I view /staging/contact it auto changes to just /contact (the live contact page). It seems the htaccess on the root live site is overriding the htaccess in the staging folder.
How do I get wordpress to respect a htaccess in a staging folder?
- The topic ‘Staging site front end pages showing 404’ is closed to new replies.