Support » Localhost Installs » I updated my wordpress url and now it doesn't let me log in.

  • Resolved crusadingangel

    (@crusadingangel)


    So recently I’ve just bought a domain name. I was hoping to link my wordpress site to my server host at ipage.com. So I stupidly went into my settings and changed my wordpress address (url).

    It was originally
    Wordpress Address: http://localhost
    Site Address: http://localhost

    Then I changed it to
    Wordpress Address: http://www.financialroot.com
    Site Address: http://localhost

    Financial root being the domain name I purchased. Anywho now I can’t seem to get into my wordpress. When I type in localhost with MAMP running, I can see my site. However I can’t log in to edit it. I assumed that I could type in localhost/wp-admin to log in, but that doesn’t seem to work either. What do I do? I’d create a new page on at ipage if it wasn’t for the fact that I used my domain as a wordpress address already… It seems like it messes with my new wordpress when I create one now since the wordpress I create on my web host uses financial root as the word press and site address I get that “site is not developed” message there as well.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,
    I was trying to put rounded corners on the contact form text area and I have messed something up. I cannot get into wp-admin and my website is showing:

    .wpcf7-text, .wpcf7-form textarea { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px 5px 5px 5px; }
    Parse error: syntax error, unexpected ‘.’ in /home/firesafe/public_html/wp-content/plugins/contact-form-7/modules/textarea.php on line 7

    Can you help please!!

    @john-cronin: your post doesn’t seem to have any relation to the original thread. Please start your own thread.

    @crusadingangel : add these two lines to your wp-config.php file to set the correct values again:

    update_option('siteurl','http://localhost');
    update_option('home','http://localhost');

    That should make your site work again on your computer, and if it does, remove these 2 lines again.

    To make the site public, there’s a few more steps to do, that involve uploading the site to your webhost. You can’t/shouldn’t make the site that you have on your local computer, available to the world.

    Thread Starter crusadingangel

    (@crusadingangel)

    @senff Do I copy and paste it in right before this line? Because that’s what I did.

    /* That's all, stop editing! Happy blogging. */

    I tried putting it in there and then going to localhost/wp-admin and it just gives me a blank white page now. I’m not sure if it’s because I’m entering the line at the wrong place or not.

    Yes, you can put those lines right before “Happy blogging.”

    Did you copy/paste the lines or type them by hand? It’s easy to make a typo, so just make absolutely sure it’s all good.

    If you remove the lines, things work as it did before?

    Thread Starter crusadingangel

    (@crusadingangel)

    I copy and pasted it.

    If I take it out it gives me the same error as before. When I type in wp-admin with the lines take out it directs me to http://www.financialroot.com/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwp-admin%2F&reauth=1

    and gives me this error.

    There doesn’t seem to be a wp-config.php file. I need this before we can get started.

    Need more help? We got it.

    You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

    Thread Starter crusadingangel

    (@crusadingangel)

    Does anyone have a solution for this?

    Because of the error I made here I can’t simply install wordpress on my web host and make a new wordpress there because i already used my domain name as a wordpress address.

    I really don’t want to buy another domain name and redo the whole process..

    Thread Starter crusadingangel

    (@crusadingangel)

    Oh. Nevermind. I solved it. My localhost/phpmyadmin was working so I went into there and changed the value for my wordpress address back to localhost and it worked!

    Thread Starter crusadingangel

    (@crusadingangel)

    yay

    Now you need to follow the procedures here:

    codex.wordpress.org/Moving_WordPress

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I updated my wordpress url and now it doesn't let me log in.’ is closed to new replies.