Redirect Naked Domains to WWW
Normally domain names start with 'www' to make it something like
this: www.ThisIsAnExampleDomain.com. However if you want to make it look
shorter by removing the prefix (aka. 'naked' domains), you have several ways to
tackle this:
Option 1: Use DNS Service like CloudFlare.
You create a A record and point to a placeholder IP (it is Google.com)
Then you make a page rule to redirect.
Option 2: Host the naked domain and enable redirects
<head>
<meta http-equiv='refresh' content='0; URL=https://www.ThisIsAnExampleDomain.com/'>
</head>
Comments
Post a Comment