大网数据广告活动
网站运营与故障问答

Redirecting naked domain to a social profile

· 52CE 我爱测

What is the best practice for SEO? I'm thinking about moving my blog to blog.example.com and having example.com redirection to my Instagram account. Is it a good/bad idea? How can it affect my SEO ranking? Is it discouraged to do…

问题原文

原帖链接 · Kamil Gierach-Pacanek · CC BY-SA 4.0

What is the best practice for SEO? I'm thinking about moving my blog to blog.example.com and having example.com redirection to my Instagram account.

Is it a good/bad idea? How can it affect my SEO ranking? Is it discouraged to do so? Do you have any insights about it or any advice?

Will it be better to have example.com redirect to blog.example.com?

Currently, my blog is hosted on the Hashnode (https://blog.cyberethical.me) - but they allow setting a custom domain. For that, I have to make changes to in my DNS settings - it is suggested to use the subdomain for that (because my provider does not support CNAME flattening).

So if I'm going to use a subdomain blog.example.com I want to make use of the root example.com. As I'm an active on IG and have some presence there, I'm wondering what is the best from the technical/SEO point of view.

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

I would not recommend redirecting your naked domain to your Instagram profile, but not for SEO reasons.

For SEO it probably won't won't make any difference. Search engines will happily index and rank your blog on the blog subdomain. Since you have never had content on your naked domain, there is no need to implement redirects for search engines. Search engines need the redirects when the content used to be hosted there and has moved.

Redirecting your naked domain to Instagram would not be good user experience for users that remember your domain name from reading your blog and try to type in your naked domain name trying to get back to your blog. Instead they will get redirected to Instagram. From Instagram, there will be no easy way to get to your blog.

The best practice is to run your blog on a subdomain, redirect the naked domain to that subdomain, and have links in your blog to your social media accounts.

If your provider does not support CNAME flattening (also known as ANAME, ALIAS records), I would recommend migrating to a DNS host that does support them. Most big DNS hosts now support them. It is usually possible to change your DNS host without changing your DNS registrar or your web host. To do so:

  1. Sign up for DNS hosting with a company that supports the features you want.
  2. Replicate all your DNS records at your new DNS host.
  3. At your domain registrar, change your NS records to point to your new DNS host.

At that point you will be able to use CNAME flattening at your new DNS host while you website is still hosted exactly like it is today.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2021-06-05)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。