Forum Moderators: coopster

Message Too Old, No Replies

Redirection problem in Wordpress

Can't get to wp-admin

         

Receptional

8:28 am on Mar 30, 2008 (gmt 0)



Can any of you clever people in php help me? I seem to have messed up moving a Wordpress installation and don't know where to look to fix it.

I had to set up a vanilla wordpress at the new location then import the database. That's not too bad... I can see the posts homepage, but clicking on the posts originally gave me 404s. I then uploaded the original .htaccess file and bingo - I can read all the posts and the comments. Still vanilla, but at least Google will be happy. Now to get the old theme back... so i go to wp-admin but this 302s to the OLD domain, and then crashes out.

What's likely to be doing the redirection and how would I fix that?

[edited by: Receptional at 8:30 am (utc) on Mar. 30, 2008]

Receptional

8:55 am on Mar 30, 2008 (gmt 0)



Aha. Sunday morning and talking to myself, but I updated one of the records in the wordpress database, "siteurl" via phpmyadmin and I'm there. unfortunately now, it seems that I need the old login... but that's not a debug issue.

Habtom

9:00 am on Mar 30, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I was going through the WordPress installation here in my local system for the last 10 mts, I suspected it had something to do with ABSPATH.

But I am glad you found it.

coopster

7:10 pm on Mar 30, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



unfortunately now, it seems that I need the old login

Login credentials for wp admin? Look in (depending on your specific installation) ...

<DOCUMENT_ROOT>/wp-config.php 
OR (where "wordpress" is the directory and/or path to your wordpress install):
<DOCUMENT_ROOT>/wordpress/wp-config.php