Tối ưu hóa công cụ tìm kiếm

www so với không www

tên miền con

WWW vs Non-WWW ‘Naked’ Domain: Which Is Right for Your Website?

If you’re in the early stages of developing a website, you might be wondering to use a www or non-www tên miền. In the past, all websites were required to use the www prefix. An initialism for “World Rộng Web,” it allowed businesses to make their websites accessible on the Internet. Unless an internet user included the www prefix, he or she wouldn’t be able to access the intended website.

Tiền tố www không còn bắt buộc nữa. Bạn có thể khởi chạy một trang web bằng tên miền không có www. Tuy nhiên, cả hai loại tên miền này đều... tên miền cung cấp những lợi ích độc đáo. Để xác định nào Để chọn đúng cho trang web của bạn, bạn phải học Sự khác biệt giữa các tên miền www và không www.

Nâng cao sự hiện diện trực tuyến của bạn với Lukasz Zelezny, Chuyên gia Tối ưu hóa Công cụ Tìm kiếm (SEO) với hơn 20 năm kinh nghiệm — hãy đặt lịch hẹn ngay bây giờ.

Lợi ích của tên miền WWW

Nếu trang web của bạn có các tên miền con được gắn vào, bạn có thể muốn sử dụng tên miền www. Cả tên miền www và không www đều hỗ trợ tên miền con, nhưng chỉ tên miền www cho phép bạn hạn chế quyền truy cập cookie.

With a non-www domain, cookies are passed down to all of your website’s subdomains. When you configure your naked domain website to send visitors a theo dõi cookie, for instance, the cookie will be sent to all users who visit your website or any of its subdomains. Whether a user visits example.com, subdomain-one.example.com, subdomain-two.example.com or subdomain-three.example.com, he or she will receive the tracking cookie. If you use a www domain, on the other hand, you’ll have the freedom to restrict cookie access to specific subdomains.

You’ll have an easier time setting up your website on a Nội dung Delivery Network (CDN) if it uses a www domain. A type of web hosting service, a CDN is an interconnected group of servers that’s used to improve website speed and hiệu suất. It helps visitors load your website more quickly by serving copies of your site’s static content from dozens or even hundreds of servers.

To get your website up and running on a CDN, you’ll typically need to set a CNAME record. Like subdomains, CNAME records are supported by both www and non-www domain. The problem with non-www domains, though, is that setting a new CNAME record overwrites all previous records. Networking jargon aside, using a www domain allows you to easily place your website on a CDN, resulting in nhanh hơn Thời gian tải trang cho người truy cập.

Lợi ích của tên miền không sử dụng WWW

Trang web của bạn sẽ có giao diện ngắn gọn và gọn gàng hơn. Địa chỉ URL if it uses a non-www domain. According to a study conducted by Gaebler, the average length of a domain is 10 characters. Assuming your website’s domain falls in line with the majority, using the www prefix will extend its length by nearly one-third. If a user wants to visit your website, he or she must type the www prefix before your site’s domain. Using a non-www domain eliminates this step so that users can type your website’s in fewer keystrokes.

Không chỉ dễ gõ hơn so với các tên miền có www, tên miền trần còn dễ nhớ hơn. Nếu bạn phát triển and promote your website using the www version of its domain, users will become accustomed to seeing the www prefix. As a result, they’ll assume it’s part of your website’s địa chỉ. And because www domains are longer than naked domains, visitors are less likely to remember them when typing your website’s address.

Sự thật về WWW và thứ hạng tìm kiếm

Ngược lại với quan niệm phổ biến, tìm kiếm engines don’t favor one type of domain over the other. Google and Bing disregard the use of www as a ranking signal. Therefore, your website won’t xếp hạng cao hơn chỉ vì nó sử dụng tên miền có www hoặc tên miền trần.

Những câu hỏi cần đặt ra cho một chuyên gia tư vấn SEO

Sự nhất quán là yếu tố quan trọng nhất.

Whether you use a www or non-www domain, the most important thing is that you are consistent. In other words, you should build all your website’s links using a single version. If you want to use a www domain, all liên kết nội bộ Và các liên kết đến trang web nên bao gồm tiền tố www. Nếu bạn muốn sử dụng tên miền trần, tất cả các liên kết nên loại bỏ tiền tố www.

Switching between different versions of your website’s domain can lead to cannibalization of your website’s link juice. If you create links to both versions of your site’s domain, they’ll share link juice. As a result, the preferred version may not rank high as it should. Maintaining a consistent link cấu trúc Ngăn chặn việc chia sẻ liên kết bằng cách tập trung toàn bộ Liên kết vốn chủ sở hữu to the preferred version of your website’s domain.

Cài đặt chuyển hướng

In addition to being consistent with the preferred version of your website’s domain, you should set up redirects to it. With redirects in place, users who try to visit the unpreferred version of your website’s domain will automatically load and see the preferred version. Additionally, redirects ensure that all link juice is passed to the preferred version of your website’s domain.

There are several ways to set up redirects to the preferred version of your website’s domain, one of which is to use chuẩn mực tags. Canonical tags tell search engines the preferred version of a web page. While on the unpreferred version of your website’s domain, you must add a canonical tag to each page. The canonical tags should point to the same page on which they are published,

Dễ dàng hơn chuyển hướng method involves configuring your website’s .htaccess file. If your website’s máy chủ Nếu trang web được chạy trên Apache, nó sẽ có hoặc hỗ trợ một tệp cấu hình được gọi là tệp .htaccess. Trong tệp cấu hình này, bạn có thể thiết lập các tùy chọn áp dụng cho toàn bộ trang web. 301 redirects from the unpreferred version of your website’s domain to the preferred version. It only requires a few lines of added code, after which the unpreferred version will automatically redirect to the preferred version.

If you use a www domain, you’ll have greater control over tên miền con cookies and the ability to use a CDN. If you use a naked domain, you’ll create shorter URLs for your website that are easier for visitors to remember. Regardless, whether to use a www or non-www domain for your website is mainly a decision of personal preference. Just remember to stick with a single version when building links and set up redirects.

Bài viết này được cập nhật lần cuối vào %s = chênh lệch thời gian dễ đọc cho con người

Lukasz Zelezny

#1 Chuyên gia tư vấn SEO sinh sống tại London, từng hợp tác với các công ty như Zoopla, uSwitch, Mashable, Thomson Reuters và nhiều công ty khác. Thuê Lukasz Zelezny (MCIM, F IDM)

Được xuất bản bởi

Bài viết gần đây

Tốc độ trang web quan trọng như thế nào đối với SEO?

Khi nói đến SEO, tốc độ trang web quan trọng như thế nào đối với SEO? Nói một cách đơn giản, tốc độ trang web…

9 tháng trước

Cách viết sách điện tử bằng trí tuệ nhân tạo (AI)

Bạn muốn biết cách viết một cuốn sách điện tử (ebook) bằng trí tuệ nhân tạo (AI) một cách hiệu quả? Hướng dẫn này sẽ giúp bạn đơn giản hóa quá trình…

9 tháng trước

Trí tuệ nhân tạo (AI) và kỹ năng viết trong SEO

Bạn đang thắc mắc làm thế nào AI có thể nâng cao kỹ năng viết SEO của bạn? Bài viết này sẽ khám phá cách các công cụ AI…

9 tháng trước

Công cụ kiểm tra thứ hạng Google My Business tốt nhất

Cần theo dõi thứ hạng của Google My Business? Công cụ kiểm tra thứ hạng Google My Business sẽ giúp bạn…

9 tháng trước

Top 10 Loại Nội Dung Viết SEO Để Tối Ưu Hiệu Quả

Để nâng cao thứ hạng tìm kiếm của bạn, bạn cần hiểu rõ các loại nội dung khác nhau…

9 tháng trước

10 Phần mềm thay thế Jasper AI tốt nhất (Cả phiên bản miễn phí và trả phí)

Đang tìm kiếm các lựa chọn thay thế cho Jasper AI? Bạn có thể đang tìm kiếm các công cụ mang lại giá trị tốt hơn,…

9 tháng trước