[resolved] Can't log in on restored site (transferred from local machine) (4 posts)

  1. rextherunt
    Posted 3 years ago #

    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 http://www.mysite.com/wp-admin 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.

  2. deanfp
    Posted 3 years ago #

    Do you have a url I could look at?

  3. rextherunt
    Posted 3 years ago #

    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!

  4. imsographic
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.