• Hi there,

    I have a copy of my site in a folder, eg: mysite.com/DEV/

    1) When I go to mysite.com/DEV/ it says 404 – page not found

    2) When I go to mysite.com/DEV/wp-admin/ it takes me back to the live site login.

    What do I need to change so that I can access the login and view the DEV copy of the site?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Does the folder and files /dev/ still exist on the server and have you verified this?

    Thread Starter MyWorldz

    (@myworldz)

    Yes they still do.

    I had copied the files from the DEV folder to the root folder, then I logged into the live site backend and in General settings I changed the link from mysite.com/DEV/ to mysite.com.

    I still would like to access mysite.com/DEV/ but now I can’t.

    Hope this makes sense. Thanks!

    I would suggest using a plugin such as Duplicator to copy your website to a dev folder. There a bunch of URLs that need changed ( not just in Settings -> General ) in the database. If a site is not moved correctly it can become inaccessible or redirect back to the original website. For more information you can read the Site Migration article in The WordPress Handbook.

    Thread Starter MyWorldz

    (@myworldz)

    Oh I see. I’ll do that. Thanks so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot Access DEV Copy of Site’ is closed to new replies.