How to change the domain name on your Siteground website

In WordPress Tips & Troubleshooting Guides by slobodanLeave a Comment

In this video I take you through how to change the domain name on your Siteground website. After creating my latest affiliate website on a .com domain I've changed my mind and now I want to run it on a .co.uk (as it's targeting the UK).

Here's the .htaccess code you'll need:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^wheelalong.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.wheelalong.com [NC]
RewriteRule ^(.*)$ https://wheelalong.co.uk/$1 [L,R=301,NC]
</IfModule>

Things mentioned in the video

Good luck!

You Might Like:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.