• Hi,

    This is the second time that this has happened now. I was trying to mask a domain (I 301 redirected it on NameCheap and set WordPress URL & Site Address to the new domain on my WordPress dashboard) and now the website is completely messed up.

    I just wanted people to access my site via that domain and it would show that in the browser instead of my current domain and I wanted people to be redirected to my new domain when they entered my old domain. Basically, I just wanted to change the URL.

    I bet I did it completely wrong. How do I accomplish what I wanted? How do I get my site back to what it was? I generated backups in my host cPanel and I have no idea what to do with them. It’s just a couple of downloadable tar files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Will,

    First the good news … most likely everything is OK.

    Now the bad news … this is going to get technical.

    To restore your website to the way it was, open your cPanel and look for your phpMyAdmin option, open that.

    In phpMyAdmin, search the [wp]_options table for the value of your new website address and replace the two occurrences with the value of your old website. Be careful, you can’t undo this.

    Now, your WordPress website (database at least) now knows where your website used to be. If you try to load it at the old URL (assuming there isn’t a redirect on it) you should see it working properly.

    Chris

    Thread Starter Will24_

    (@will24_)

    Hi Will,

    First the good news … most likely everything is OK.

    Now the bad news … this is going to get technical.

    To restore your website to the way it was, open your cPanel and look for your phpMyAdmin option, open that.

    In phpMyAdmin, search the [wp]_options table for the value of your new website address and replace the two occurrences with the value of your old website. Be careful, you can’t undo this.

    Now, your WordPress website (database at least) now knows where your website used to be. If you try to load it at the old URL (assuming there isn’t a redirect on it) you should see it working properly.

    Chris

    Hi,

    There are 3 different installations of WordPress on this domain so I don’t know which one to choose. I will try and find out but I can’t access any of the databases because I don’t know the password.

    Will, if it’s your site you can FTP into the root and look at the password settings in the wp-config.php file

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tried to mask a domain, completely ruined website.’ is closed to new replies.