Login to wp-admin “redirect_to” points to wrong URL after migration

I had the same issue. To fix it I had to make some changes to the database. Use phpMyAdmin or just log directly into the database and look at your wp_options table. Check the following two fields: siteurl and home.

SELECT * FROM wp_options WHERE option_name IN ('siteurl', 'home');

Make sure these fields hold the correct domain information if not change them and see what happens. In my case the issue was resolved.

Leave a Comment