• Hello, I am experiencing a problem with the wordpress migration.
    I held my website on localhost beofre (xampp server in computer). It all worked fine so I decided to move it to a real domain. The website is http://www.cupavortex.ga .
    I exported the database from phpMyAdmin in xampp, and imported it in the new database in the wordpress site. wp-config.php is already configured
    The only thing working is the homepage and the buttons.
    The images are not appearing.
    And when I try to click on any link it redirects me to the old addresses (for example, when I try to click on “Desfasurare”, it redirects me to localhost/CupaVortex/desfasurare because that was the old link. I can’t acces wp-admin nor any administrative tools but phpMyAdmin and FileZilla.

    Also, the site is hosted at 000webhost.com, and yes, I modified the mysql name to mysql4.000webhost.com from localhost, and replaced utf8mb4 with utf8 in order for everything to work. I just want to find out how to replace the links, I don’t really care about the images.. Theme used is Astrid.

    Thanks in advance,
    Eric Spataru

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to review [[Moving_WordPress – especially the section about running a search & replace before importing the db backup.

    The 1 thing I can notice is that your images are already linked with that URL in your posts and that won’t change if you change the Blog URL in settings.
    You need to run a databse find and replace query to replace all localhost references with your domain. I hope you know how to do this now. I make use of the plugin called Better Search Replace to do this.

    For the linking, consider resaving your permalink structure and also check your .htaccess that there are no custom redirects.

    • This reply was modified 9 years, 7 months ago by singhnsk.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Broken links after WordPress Migration’ is closed to new replies.