Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To escape the redirect, add the following code in functions.php:
- add_action('init', 'xs_repair_backup_redirect');
- function xs_repair_backup_redirect(){
- $your_site_url = 'http://my-site.com';
- update_option('siteurl', $your_site_url);
- update_option('home', $your_site_url);
- }
- replace http://my-site.com with your address, and after login delete this code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement