No www for multisite

Sorry, I have another question.
Can somebody help me with this?
I dont want to use www in my multisite installation.

This what I changed in my wp-settings:
define( 'NOBLOGREDIRECT', 'http://domain.com/' );
define('WP_DEBUG', false);
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'domain.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
/* That's all, stop editing! Happy blogging. */

Thanks very much.

  • Timothy Bowers
    • Chief Pigeon

    You will want to make changes to:

    wp-config.php

    Any references in the database from http://www.domain.com to just domain.com So you will want a search and replace tool to do that. I prefer to dump the DB make changes and then import it again, it works for me. :slight_smile:

    (leave the http:// in)

    When testing, don't forget to clear your cache to ensure you are not seeing an older cached version.

    Hope this helps.

  • Timothy Bowers
    • Chief Pigeon

    Hey again.

    Its not a service we personally offer unfortunately.

    But I'm sure there are developers which would take this one. You can post your jobs on our jobs board:

    https://premium.wpmudev.org/wpmu-jobs

    Other developers can then get in touch regarding your project.

    Sorry I cannot help further in that respect.

    Out of interest, what issues where you met with because perhaps that is something I can give some pointers on?

    Take care.

  • aecnu
    • WP Unicorn

    Greetings jamiescott,

    Once you have this fixed in your wp-config.php as it appears that you do, it is necesssary to change all the references to the www in your WordPress database primarily in the wp_options table.

    To help ease the pain and assist dealing with the tables in the database, I offer you to download in what is in my opinion the greatest Database Management software of all time Navicat.

    Please advise if this helps get your site going again.

    Cheers, Joe

  • Timothy Bowers
    • Chief Pigeon

    Hey there just checking in to see how you have gone with this.

    We haven't heard from you in a while so I presume you have this sorted now?

    As such I'll mark it as resolved for now, however if you need more help or advice here then please just reopen it again so we can assist further :slight_smile:

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.