Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The laptop I was working on recently crashed. But, I managed to get everything on it backed up, including my recent WordPress project off of my local server (I use MAMP).

I uploaded my SQL database and copied the WordPress website folder into my local server. The WordPress login interface looks normal, but after you get the login, it looks like this:

error screenshot

Is there something I missed when transferring my WordPress project from my old local server to the new one?

Any suggestions are greatly appreciated!

share|improve this question
    
@JohannesPille - Thank you very much for editing the post to make it much more understandable. Truly appreciated! –  Abriel Nov 21 '12 at 3:41
    
@brasofilo - And thank you very much as well for editing this post. Truly appreciated! –  Abriel Nov 21 '12 at 3:41
add comment

1 Answer

up vote 2 down vote accepted

I believe the wordpress URL and site URl are not set right.
Please try to edit your wp-config.php adding these lines:

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

Is your index on same folder as wp installation? if not, you need to place it there.

I'm talking about placing the URL in the above lines, not the index on the wp folder.

share|improve this answer
    
please note that if these lines are in your wp-config.php you wont be able to edit siteurl and wpurl by wp-admin panel, unless you delete them. but, if it works, you wont need to edit at admin panel, right? ;) –  user1576978 Nov 21 '12 at 3:08
    
I declared those lines in my wp-config.php file and am still getting the same results when I log into my local WordPress administration interface. :( –  Abriel Nov 21 '12 at 3:30
    
Note, the URL I declared in the lines in your answer was: http://localhost/portfolio –  Abriel Nov 21 '12 at 3:37
    
After a few minutes, it reloaded and now my administrative interface is working properly. Thank you very much @user1576978 –  Abriel Nov 21 '12 at 3:38
    
i'm happy to help, 'cause i've been helped many times :) –  user1576978 Nov 21 '12 at 3:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.