My website will not work with the www prefix

If you opt to default to the www prefix, all requests for yourdomain.com will redirect to www.yourdomain.com using the search engine friendly 301 redirect. The opposite is true if you opt to default to NOT using the www prefix.

You can find this option in Plesk by clicking on the "Hosting Settings" link beside the domain you wish to configure. Look for the "Preferred Domain" option and set it to your preferred option.

Warning: if you set the option in Plesk to the opposite of how your "Site URL" is configured in WordPress (or similar settings in other web apps) you will create a redirect loop where the web server is pointing to one option and your web app then attempts to load the opposite. Be sure that your preference of using the www or not using the www matches in Plesk and your web application of choice.

Here's how to fix this:

  1. Log in to Plesk and choose Domains
  2. Click on the domain that is encountering this problem
  3. Click on the "Hosting Settings" button
  4. On Preferred Domain, the first option should have an unchecked box next to "www." Check this box and click okay. It may take a few minutes to several hours for the changes to take place

When adding a domain in Plesk, it provides a quick setup process where this option appears. Unfortunately it can be easily skipped (by clicking finish rather than next) or overlooked. Remember to read through the options carefully when adding a domain in Plesk.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Wordpress Site Migration

BaseHost specialises in Wordpress building and hosting. Our platform is setup with specialised...

Email Migration

Email migration is a topic that comes up a lot with new clients. BaseHost utilises Office 365 for...

Billing and Payment Information

BaseHost supports Visa, MasterCard and AMEX credit card payments for our services. We do not...

I don't have Managed Services but I would like you to make a change to my site.

The simple answer to this is, no problem! We obviously have the expertise to make these changes...

How long does it take you to respond to my ticket?

BaseHost prides itself on delivering fantastic customer service experiences in every interaction...