I cloned a website into another url and this message appears in the new site:
“It looks like this site has moved or is a duplicate site. WooCommerce Subscriptions has disabled automatic payments and subscription related emails on this site to prevent duplicate payments from a staging or test environment. WooCommerce Subscriptions considers to be the site’s URL.”
How can we fix this problem? Trying to find anything but didn’t find any help information. We just cloned the old site because we bought a new domain. Cloned the old into the new. And this message appears. Does anyone know how to solve it?
[ad_2]
Delete the old site. Obviously you don’t want to have 2 sites charging your subscribers twice for the same product.
BTW you don’t need to duplicate a site just to change its domain name… just change the domain name in Settings.
First, there is no need to clone the site. Just point the DNS to the existing site. Update your hosting to use the new domains.
Second, you may need to login to the plugin dev’s website to update the live site URL. It’s not uncommon for a commercial plugin to only be allowed on a single domain. It might just be a matter of disconnecting the old domain.
Third, look in the plugin settings, there may be a domain URL setting.
Fourth, you’re probably going to have to do a search and replace for old domain to new domain across the entire database. I would use Better Search Replace. It’s a free plugin and very easy to use.
Last and by far the most important, you need to add an htaccess rule to 301 redirect the old URLs to the new URLs. Otherwise, Google is going to dump all your old indexed pages, and you will lose any rankings you previously had. If you don’t 301 redirect, you will likely never recover your traffic unless there are no competitors in the space.