Viewing 5 replies - 1 through 5 (of 5 total)
  • You try to backup the domain2.com database files and data to your computer, then remove the WordPress and reinstall it again. This may solve your problem. This is the quickest suggestion, I can give you.

    You must wait for some more time to get the accurate suggestion/advise/solution.

    Thanks, Have a nice day!
    YellHow

    The problem is your database contains links to domain2.com. Moving a WordPress install isn’t as simple as dragging and dropping the files. You’ll need to download the database and do a search and replace for domain2.com to domain1.com then reupload the database.

    That should fix all your issues.

    For more info on moving your WordPress blog visit https://codex.www.ads-software.com/Moving_WordPress or I did a post on this at https://www.daveredfern.com/blog/6-steps-to-easily-move-your-wordpress-website/.

    Thanks and good luck.

    Dave.

    Thread Starter Viraxation

    (@viraxation)

    Thanks YellHow and Dave,

    I’m gonna try moving the blog and changing the database. I have to admit I know a thing or two about WordPress and websites, and I also remember that you have to change the blog url in wp-admin before moving the folder. But I’m too late for that now unfortunately.

    My database knowledge is about close to zero, so I’m always a bit afraid to change stuff in there. I’ve thought about making a backup, but I guess the wrong URL will be there in that backup as well so it won’t help. Next to that my special characters like é or á etc always change in some weird code after I apply a backup. So that’s why I try to avoid using back ups.

    Anyway, thanks again ??

    If you have sorted out the problem, Please change the status of this thread to RESOLVED so that any forum members or moderators do not enter to this to help you!

    Thanks
    YellHow

    Thread Starter Viraxation

    (@viraxation)

    The problem is resolved, especially thanks to Dave. I’m either blind or a really bad Googler, but https://codex.www.ads-software.com/Moving_WordPress contained the solution to the problem:

    If you forget to change the WordPress Address and Blog Address, you will be unable to change it using the wordpress interface. However, you can fix it if you have access to the database. Go to the database of your blog and find the wp_options table. This table stores all the options that you can set in the interface. The WordPress Address and Blog Address are stored as siteurl and home (the option_name field). All you have to do is change the option_value field to the correct URL for the records with option_name=’siteurl‘ or option_name=’home‘.

    And indeed. I changed the siteurl and the home id to the correct URL and it worked. Took about 30 seconds.

    Thanks again Dave ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wp-admin redirects to non-existing url’ is closed to new replies.