Title: WordPress Multisite DO Serverilot
Last modified: August 30, 2016

---

# WordPress Multisite DO Serverilot

 *  [luismiguelopes](https://wordpress.org/support/users/luismiguelopes/)
 * (@luismiguelopes)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wordpress-multisite-doserverilot/)
 * Good afternoon guys,
    I want to setup a wordpress multisite hosted in DO and 
   working with serverpilot. When I change the .htaccess all my pages are returnin
   404 error.
 * I have to say this first, before i change the files wordpress notifies me this:
 *     ```
       Server Address
   
       We recommend you change your siteurl to site.com
        before enabling the network feature.
       It will still be possible to visit your site using
       the www prefix with an address like www.site.com
        but any links will not have the www prefix.
       Server Address 	The internet address of
        your network will be www.site.com.
       ```
   
 * So to enable multisite is really important that my website doesn’t have the www
   prefix?
 * Here is my .htaccess file
 *     ```
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
   
       # add a trailing slash to /wp-admin
       RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
       RewriteRule ^(.*\.php)$ $1 [L]
       RewriteRule . index.php [L]
       ```
   
 * and my wp-config.php file
 *     ```
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', false);
       define('DOMAIN_CURRENT_SITE', 'www.site.com');
       define('PATH_CURRENT_SITE', '/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * Thank you very much for your help 🙂

The topic ‘WordPress Multisite DO Serverilot’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 0 replies
 * 1 participant
 * Last reply from: [luismiguelopes](https://wordpress.org/support/users/luismiguelopes/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/wordpress-multisite-doserverilot/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
