Support » Networking WordPress » Removing the www prefix

  • Hi,

    My wife’s a primary school teacher. Until last week they had a Joomla! website. I am making them a WordPress website.
    I have made several multisite websites. Now I experience a difficulty which is maybe nothing, but I am not sure. During the proces I get this message. After I added:

    define('WP_ALLOW_MULTISITE', true);

    I go to Tools > Network Setup. I choose Subdomains.

    This is part of a screen dump, but it’s in Dutch:

    It says it was strongly recommended to remove the www-prefix first.

    If I change the url to in Settings I get kicked out of the Administration.

    In this stage my .htaccess is not changed yet, because of the recommendation to remove the prefix (www) first. The .htaccess looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    This is the first time I get this message, but for the other multisites I made I never registered as www. Or maybe I never read well during the conversion to multisite.

    What am I doing wrong?

    The webhost is

Viewing 5 replies - 1 through 5 (of 5 total)
  • Whatever you have done so far and whatever you have described so far is what one could expect while trying to install it on a domain with www prefix.

    If I change the url to in Settings I get kicked out of the Administration.

    Once you got kicked out, can you login again? If yes, just login and do the usual steps to enable (and install) Multisite.

    Thank you for replying Pothi.

    I can only login if i choose:

    WordPress address (URL):
    Website address (URL):

    If I change the WordPress address to the only way to get back in, is by changing the url in the database wp_options back to

    If I do so I get the message in Network Setup that the WordPress address and the website address have to be the same.

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    WordPress address (URL):
    Website address (URL):

    This must be done before you set up Multisite, or you’re in for a world of hurt.

    Change those BOTH to

    Now I noticed that doesn’t work, which means your server was setup stupidly (yes, stupid, it’s like making a lightswitch that does nothing, bad server admin, no cookies).

    You’ll need to do this in your .htaccess (at the very top)

    I did what you told me to do. Changed the .htaccess

    “Not much luck”

    If I upload the old .htaccess it seems like the xs4all-servers need some time. After five minutes or so the website is available again. (Ofcourse I removed my cash first and also tried another browser.)

    I checked my own website’s .htaccess. I thought maybe one of my plugins had taken care of the rewriting, but no. My host is probably a lot better, or let’s say more user friendly. My own website has way heavier, but reacts much quicker. One cannot refuse to help a primary school. But I have learned my lesson.

    I will ask the teacher in charge of the website to call the hosting provider to ask to change the settings.

    Thx so far!

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Yeah, you need to get DNS redirection working. There’s absolutely no reason that www shouldn’t redirect to the non-www (or vice versa, just pick one man). Having just FAIL is bad server admining 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing the www prefix’ is closed to new replies.