Using a canonical tag
🌐
Apex domains deep dive
In the cases above you forward all requests to the ONE main domain you are using. In some cases you might have two domains serving the same content. Now, search engines need to know which page is the one they should show the results for. To help the search bots, you can use a canonical tag.
Let's say you have the page fortrabbit.com and fort-rabbit.com registered. And you want both to display the same content but still keep the originally entered URL. Actually, for this example you might want to create a redirect to the domain that matters most to you, but whatever. Now you want the search engines to prefer and link to the first domain, so you add in the head of each HTML page delivered:
<head> … <link rel="canonical" href="https://www.fortrabbit.com" /> </head>html
Found a tpyo?Edit