www vs Sans 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.
Le choix entre www et sans www détermine si votre site est accessible à www.example.com ou example.com. Les deux sont valides ; l'essentiel est de choisir l'une comme [[canonical-url|canonique]] et de rediriger l'autre avec une [[301-redirect|redirection 301]].
Exemple
Most modern websites use the non-www version (example.com) as canonical, redirecting www.example.com to it with a 301.