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!

  • @JohannesPille - Thank you very much for editing the post to make it much more understandable. Truly appreciated!
    – Abriel
    Commented Nov 21, 2012 at 3:41
  • @brasofilo - And thank you very much as well for editing this post. Truly appreciated!
    – Abriel
    Commented Nov 21, 2012 at 3:41

1 Answer 1


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


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.

  • 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? ;) Commented Nov 21, 2012 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
    Commented Nov 21, 2012 at 3:30
  • Note, the URL I declared in the lines in your answer was: http://localhost/portfolio
    – Abriel
    Commented Nov 21, 2012 at 3:37
  • After a few minutes, it reloaded and now my administrative interface is working properly. Thank you very much @user1576978
    – Abriel
    Commented Nov 21, 2012 at 3:38
  • i'm happy to help, 'cause i've been helped many times :) Commented Nov 21, 2012 at 3:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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