I have a situation I can't figure out and I'm hoping maybe someone can shed a bit of light before I freak out.
It's sort of complex (at least to me) so bear with me.
I have blog wp_1
I have blog wp_2
Essentially, I wanted to clone wp_1 to wp_2 - so I copied all wp_1's tables, renamed them to wp_2 and replaced the real wp_2 tables with the new ones... more or less.
I'm aware that there are several options in the options table that I should preserve, though I'm not sure exactly which ones - a few just seemed like I should. I preserved the data in:
siteurl
blogname
blogdescription
home
upload_path
random_seed
blog_public
upload_url_path
fileupload_url
secret
admin_email
Everything seems to be going perfectly - I've essentially cloned all of the settings from wp_1 to wp_2 without losing the login details and home url, etc...
EXCEPT!
Now, when I try to login to the admin section of wp_2 I get an infinite redirect loop.
Is there a field in a table I don't know about somewhere that controls where you're redirected to when you login? I'm thinking in user meta, there's a primary blog field... but I tried messing with that and can't get it working.
Any ideas? Even a nudge would help. Thanks!