Support » Installing WordPress » Can't log in on restored site (transferred from local machine)

  • Resolved rextherunt


    I’d appreciate some help!
    I’ve restored my site to a new server after developing it on my local machine (with MAMP)
    I can see my front page (images and all), but all links still point to localhost:8888 on my machine.
    Worse than that – I cannot log in – when I go to it redirects back to my localhost:8888 as well.
    I’ve edited wp-config.php to get the database working.

    I’ve tried installing a fresh .htaccess but this hasn’t solved it.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    I’m desperate for help and I can’t find the answer on the forums.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you have a url I could look at?

    Thanks for the quick reply. I have resolved it!

    I found that although I had edited wp-config.php I had to go to wp_options in the db and manually change siteurl to my new URL.

    Then once I could log in as admin, I installed this plugin and changed all the entries in the DB so that all my images and links worked.

    Hope this helps someone else!

    Thank you so much rextherunt! Really helped thanks for posting your solution!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't log in on restored site (transferred from local machine)’ is closed to new replies.