• Resolved dankaholic

    (@dankaholic)


    Dear All,

    I need help. I migrated my site from localhost to webserver. Edited wp-options in the database, uploaded everything and edited wp_config. Now the admin is working flawless only the live site is trying to connect to localhost where the connection fails. Where is the error?

    Thanks so much in advance :*
    Axel

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Install the plugin “better search replace”. Search for http://localhost/wordpress/index.php and replace with http://axelgercke.de/wordpress.

    lisa

    (@contentiskey)

    did you do anything to search + replace urls?

    Thread Starter dankaholic

    (@dankaholic)

    Wow that was fast! Thank you.

    @lisa I changed the first two values in wp-options from localhost to the current domain and I re-saved the Permalinks section (found that hint somewhere). The the different link types displayed there show the current domain.

    @steven I did exactly that even with guids checked, nothing changed ..

    Damn I’m already sure this is going to end somehow embarrassing, usually I’m not that bad with these things 😀

    Cheers
    Axel

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Did you uncheck the “dry run” box?

    Thread Starter dankaholic

    (@dankaholic)

    ps I also put .htacces in there with the following content:

    # 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

    Thread Starter dankaholic

    (@dankaholic)

    @steven YES 😀 but it took me two times unless i recognized it

    • This reply was modified 5 years, 4 months ago by dankaholic.
    Thread Starter dankaholic

    (@dankaholic)

    … and something else: on my PC I still have the local server running (with the same site) and when viewing the live site on my PC everything works because WP is getting the data from localhost/wordpress on the local Apache. On my mobile it doesn’t work, obviously. Something still seems to point to localhost/wordpress, where could it be?

    Thread Starter dankaholic

    (@dankaholic)

    Somehow it was messed up. Couldn’t figure it out. So I did a clean install and used All In One WP Migration plugin. It worked like a charm.

    Thanks for looking!
    Axel

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wp-admin working, site doesn’t’ is closed to new replies.