Viewing 10 replies - 1 through 10 (of 10 total)
  • Have you reviewed Moving_WordPress?

    Thread Starter melindad

    (@melindad)

    I have spent three days reviewing everything I can find! But I just can’t fix it!

    I’d start by going into phpMyAdmin on the destination site/server and looking for the wp_options table in your database. Make sure the “siteurl” and “home” values are both set to “https://www.grotunnels.co.nz” (without the quotes and without a trailing slash at the end of the URL). If you currently notice the URL in your address bar changes to your old site when trying to login, this change will also likely fix your wp-login loop issue.

    If the links for the pages in your theme are set in the database, changing them all at once is relatively easy. Download the SQL dump file from phpMyAdmin and open the dump file in a program like Adobe Dreamweaver (Notepad or Textedit will also work for this purpose). Then, use find and replace and ‘find’ all instances of “www.ridgewood.co.nz/grotunnels/wordpress” and ‘replace’ them with “www.grotunnels.co.nz”. It is VERY IMPORTANT not to include HTTP/HTTPS or any trailing slashes, as this will cause errors in other areas of the database and ensures data consistency.

    Let us know if this works for you.

    Thread Starter melindad

    (@melindad)

    I have checked siteurl and home and they are correct.

    I don’t know how to “download the sql dump file’. I have googled and can’t figure out how to do this.

    Thread Starter melindad

    (@melindad)

    I figured out how to export the database and searched for instances and replaced. However, when I try to import it comes up with this:

    #1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘phpMyAdmin SQL Dump
    — version 4.3.8
    https://www.phpmyadmin.net

    — Host: lo’ at line 1

    Thread Starter melindad

    (@melindad)

    Ok, I think I have managed to replace all instances now of ridgewood.co.nz/grotunnels/wordpress

    But still can’t log in

    Thread Starter melindad

    (@melindad)

    No, links still not working either

    Thread Starter melindad

    (@melindad)

    Took all the files down today and tried today to download them and upload through Filezilla. Same problems still occurring. I go to log in to wp-admin an it goes to the sold site.

    I’m at wits end! I’ve spent three days now trying to make this work. Please help!!!

    Thread Starter melindad

    (@melindad)

    I’ve tried another plugin and have the files back up on https://www.grotunnels.co.nz
    Still linking back to ridgewood.co.nz/grotunnels/wordpress and the wp-admin login is still redirecting there.

    Someone please help!

    The only reason I can think of for why it would keep redirecting is if the site links in the database are still pointing to your old site. If you’re absolutely certain they are all correct, you may have to hire a developer or have someone else on these forums weigh in. As far as public links on your website, those might be stored in the theme files if changing them in the DB didn’t work.

    I hope someone can find out what’s going on for you, but I’m personally out of options to suggest. I’m sorry.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Migration not working!’ is closed to new replies.