www против 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.
Выбор между www и non-www определяет, доступен ли ваш сайт по адресу www.example.com или example.com. Оба варианта допустимы; главное — выбрать один как [[canonical-url|канонический]] и перенаправить другой с помощью [[301-redirect|редиректа 301]].
Пример
Most modern websites use the non-www version (example.com) as canonical, redirecting www.example.com to it with a 301.