0

I have broken my website. I went into the general settings in the Dashboard and changed my site URL from www.therealdeal.org.uk/newsite to www.therealdeal.org.uk. I left the Home address as www.therealdeal.org.uk/newsite. I now get:

This website is temporarily unavailable.

I have accessed PHPmyadmin and manually changed the wp-options table but it does not seem to have any effect. I cannot access my website or Admin panel any more.

2
  • Have you also changed your wp-config.php settings?
    – Aravona
    Oct 7, 2015 at 14:43
  • Just went to your site. Looks like you got it fixed... Oct 7, 2015 at 15:10

1 Answer 1

0

To get your site back

Open wp-config.php - ( add these lines )

define('WP_HOME','www.therealdeal.org.uk/newsite');
define('WP_SITEURL','www.therealdeal.org.uk/newsite');

or to have it autmatically map to the right places

define( 'WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] );
define( 'WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] );

Load the admin or login pages a few times

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.