Handleiding

Changing domain

There might be a time when you want to change your domain to something else. This means that your website URL will change. This is not as simple as changing a normal website URL mainly because Poppyz has payments with Mollie. Each Poppyz website can be classified by two categories in terms of this: Websites that have active Mollie subscriptions and websites that don’t. The latter is easier to migrate into a new domain.

Websites without Active Subscriptions:

These are websites that only have standard payment plans, and/or websites that no longer have ongoing payments via payment plans and memberships. This means that all their subscriptions have been paid completely.

This one requires the standard procedure of migrating a website to a different URL. There are different methods to do this like this one. Because your Mollie license key is attached to your domain, the only additional step for you to do here is to change your website URL on your Mollie account to obtain a new license key that you can use in Poppyz’s plugin settings.

Note: It’s very important to confirm that you don’t have any ongoing payment plans or memberships because they will stop working if you change your domain name.

Websites with Active Subscriptions:

This one is a bit tricky. Basically, we don’t recommend doing this because it requires a lot of steps to make your customer’s Mollie subscriptions keep working. In addition to above the customer mandates should be re-obtained in the new website which is not ideal at the moment to implement. Not to mentioned updating all existing subscriptions to use the new website so that new charges will use the new URL instead of the old one.

What we recommended doing here is to wait for all your subscriptions to be done first or – keep the old website URL functioning so that your current customers can still function properly. And duplicate/create a new website for new customers in the new domain.

Downtime

Keep in mind the downtime when transferring domains. If the domain is new it could take hours to propagate and be accessed by users. If the domain has been bought and hosted for a while then this is not a problem. The downtime will only depend on how fast you can transfer the files and database. This process can be done within an hour so installing a maintenance plugin could be useful. After a successful transfer don’t forget to setup redirects.

Redirects

Once the old site is no longer being used and the new site is live, it is best to create an automatic redirect from the old site to the new one. This can be done inside your host’s control panel, or if you want more control it can be done via code or via a WordPres plugin. The proper way to do redirects is to redirect all URL’s to their equivalent in the new domain. For example, site1.com/course/test-course should redirect to site2.com/course/test-course. If your host supports .htaccess (running Apache) then edit your .htaccess file via FTP and add this code before its content (replace domain and newdomain to your actual domain names):

RewriteEngine On

RewriteCond %{HTTP_HOST} ^(?:www\.)domain\.com$ [NC]
RewriteRule ^ http://newdomain.com%{REQUEST_URI} [L,R=301]


An alternative is to use a Redirection plugin