WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rextherunt
    Member
    Posted 2 years ago #

    Hi
    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]
    </IfModule>

    # END WordPress

    I'm desperate for help and I can't find the answer on the forums.
    Thanks!

  2. deanfp
    Member
    Posted 2 years ago #

    Do you have a url I could look at?

  3. rextherunt
    Member
    Posted 2 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
    Member
    Posted 1 year 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

Tags

No tags yet.