• Hey guys,

    I’ve been working on a wordpress website for the last while on my localhost. But its finished now, so I managed to move it online following various tutorials mainly this one http://www.codemyownroad.com/13-steps-to-deploy-wordpress-from-your-localhost-to-a-live-web-server/

    Anyway, obviously I need to update my permalinks etc but whenever I go to my URL/wp-admin it redirects me to “localhost” so obviously there is something in the code that is directing me there?

    Can anyone help me with this? I’ve been trying for days to get the site from the localhost to the actual server and I’m just having trouble….

    I’m not great when it comes to code so I dont really understand php etc. so if people could keep information stupid simple I would greatly appreciate it!

    Thanks in advance guys!

    ***edit***

    Also, when I check the web url on other devices that are not the computer I have been working on its just a page with links and thats it, its like the code hasnt updated where all the content is. If anyone could help you would be my hero!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I’ve been working on a wordpress website for the last while on my localhost.

    That’s good.

    Anyway, obviously I need to update my permalinks etc but whenever I go to my URL/wp-admin it redirects me to “localhost”

    Not so good. Give this Codex article a good read.

    http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change

    What you are doing is moving WordPress from one server to another. In addition to the WordPress Address and Site URL you need to do a search and replace of all the localhost references in your database to the new URL.

    Thread Starter Zajaki

    (@zajaki)

    Hey Dembowski! Thanks for the fast reply. When I exported the database I opened it and replaced all http://localhost with the url of my website, but now I have a new problem. I tried using that script that was shown and it seemed to fuck the website up. So i deleted everything from the webspace, made a new database and repeated the process i.e exporting the database, changing localhost to url and reimported it. And then I re-uploaded the files to the website, but now for some reason when i go to the home page its just blank…. I can log in with url/wp-admin but when I go to theme my theme is there but thats it…. I have no idea what is going on…. Are you able to shed some light on this situation??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cant login to WordPress dashboard’ is closed to new replies.