Setting up WordPress to work at a URL without www

  1. Disable redirect to address from www or without wwwif enabled. This is necessary so that a cyclic redirect does not occur during the configuration process.
  2. V adminpanels site (not in the hosting control panel) in the section "Settings → General" ("Settings → General") remove www from addresses (URL) (for example, if they indicated http://www.example.com, indicate http://example.com):
  3. Check the site by opening it at the address without www.
  4. If everything is okay turnon redirect to address without www.
  5. Check the site again.

In most cases, the described actions are enough for the site to work at the address without www.