www vs Non-www
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://tldfyi.com/iframe/glossary/www-vs-non-www/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://tldfyi.com/glossary/www-vs-non-www/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/www-vs-non-www/)
Use the native HTML custom element.
Pilihan www vs non-www menentukan apakah situs web Anda dapat diakses di www.example.com atau example.com. Keduanya valid; yang penting adalah memilih satu sebagai [[canonical-url|kanonik]] dan mengalihkan yang lain dengan [[301-redirect|redirect 301]].
Contoh
Most modern websites use the non-www version (example.com) as canonical, redirecting www.example.com to it with a 301.