Picto thématique

Rule n° 211 - The address of the website and of its subdomains works with and without a www prefix.

When typing directly into the domain.com format, some browsers turn to http//www.domaine.com, others to http://domaine.com. It frequently happens that the latter address returns an error, even on very large sites. Think about it.

#Eco-conception #Server and performance #Development


  • Allow users to reach the site’s homepage, even if they forget to enter the “www” prefix.
  • Reduce the energy impact related to the consultation of the site.


Configure the server so that it manages addresses without www (routing).


On some of the pages checked:

  • Remove the prefix “www” in the address of the page, within the URL bar of your browser;
  • Check that you still have access to the website.

Warning: some browsers hide the www prefix by default. The test should therefore be done by adding http:// or https:// in front of the address while omitting the prefix, for example: https://opquast.com.

By Opquast - Read the license

Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 14,500 web professionals to have their skills certified. Train your teams or your students, contact us