• Hello, I’m fairly new to WordPress developing. The last couple of months I’ve been developing a WordPress site on localhost. Two days ago I decided to upload it on a server host. While I was working on localhost the site was under a working name. I had to change it prior to upload it on the server. At first I went to General Settings and changed the WordPress Address (URL)and the Site Address (URL). Since then I lost access to the site and I tried to edit various files.
    So
    1. I’ve renamed the database name through phpMyAdmin.
    2. I edited the hosts file at Windows\System32\drivers\etc .
    3. I edited the httpd-vhosts.conf file at C:\wamp64\bin\apache\apache2.4.23\conf\extra
    4. I edited the wampmanager file at C:\wamp64 .

    All the edits were to replace the old with the new name.
    Now I’m at the point where I can see my site but I see it only as an index page, just the structure, pure HTML, no interface, CSS or whatsoever.
    Sample of how my site shows.
    https://s23.postimg.org/8eli10prr/image.jpg

    https://s23.postimg.org/d1rk2sd4n/image.jpg

    I also have NO access to the wp-login. When I click on Log In I get the message
    This site can’t be reached “mysite”’s server DNS address could not be found.
    Search Google for my site login
    ERR_NAME_NOT_RESOLVED
    ” on my browser.

    Any ideas of what went wrong and how I should fix it?
    Please forgive me if I’ve missed any important or necessary info. It’s the first time I post in the forum.
    Thank you in advance

    • This topic was modified 7 years, 10 months ago by akimo.
    • This topic was modified 7 years, 10 months ago by akimo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a guide to help with correctly moving WordPress located here: Moving WordPress

    You’ve made quite a bit of effort, but possibly not in a helpful direction. I have doubts that editing any of those files you mentioned had any positive effect on your localhost development site. You may need to reverse those changes to get things working properly again locally so that you can move the site to a new server following the steps outlined in instructions at the link above.

    Some additional info that may help you repair your local version, if you need to change it back to whatever it was to prep the site for the move: Changing The Site URL

    Thread Starter akimo

    (@akimo)

    Thanks a lot for your answer. Actually I’ve managed to fix the issue and have again control on my site. I figured out that what caused the problem was that I replaced the working name with the full URL along with the www prefix. Since I deleted the prefix in all the associated folders and files the site is working again. One more question though. Is there any test I should run before uploading to the server host? Just to be sure that everything works OK. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress page showing as index list, No access to wp-login’ is closed to new replies.