WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried to switch a website from zoparealty.com to zoparealtygroup.com.

When I go to zoparealtygroup.com, I can see what appears to be a strictly HTML version of the site(no CSS, no php).

zoparealtygroup.com/wp-admin takes me to Page Not Found with a URL using the old domain.

What could be causing the problem? What steps can I take to remedy the problem?

share|improve this question

The PHP is loading at the new domain, or else you would see no HTML. The issue seems to be that your WordPress Address (in Settings -> General) is not set for your new domain.

If you have access to the DB, look for the option with the name siteurl in wp_options. The value should be your new domain.

Quick and dirty solution: add this to wp-config.php:

define('WP_SITEURL', 'http://zoparealtygroup.com');
share|improve this answer
I kind of suspected the cause of the problem would be along these lines. My trouble now is- I can't gain access to the WP backend; when I try to login via /wp-login.php I recieve a Page Not Found error(as described above). Trying to login via FTP(tried with both old AND new domains) resulted in an 'authentication fail' error for both. Any ideas? – user1255049 Apr 18 '13 at 14:50
FTP connection issues won't be WordPress related. You'll have to consult your hosting company on that one. – vancoder Apr 18 '13 at 16:15

Your Answer


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.