Title: url problem in multisite
Last modified: August 21, 2016

---

# url problem in multisite

 *  Resolved [MetricCandy](https://wordpress.org/support/users/metriccandy/)
 * (@metriccandy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/url-problem-in-multisite/)
 * Hello all,
 * I have currently a multisite running.
    The setup is:
 * [http://www.domain.com](http://www.domain.com)
    [http://www.domain.com/subdomain/](http://www.domain.com/subdomain/)
 * Now I currently have the following problem
 * When I navigate in my adresbar to:
 * domain.com I do not go to my site.
    neither do my domain.com/subdomain/
 * it only works if I put the www. in front of it.
 * Can I fix this?
    And with I, I mean: can you help me fix it. 😉
 * Thanks
 * Edit: just noticed domain.com exists, as you may have assumed it I used that 
   as an alias for my site…

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Mrinal Roy](https://wordpress.org/support/users/mkrdip/)
 * (@mkrdip)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/url-problem-in-multisite/#post-4435331)
 * Hi
 * No, simple solution for this!
 * All you can do, redirect non www users to www.
    e.g: If users point to browse
   [http://domain.com](http://domain.com) they’ll redirect to [http://www.domain.com](http://www.domain.com)
 * Same thing will happen for your sub-domain
    e.g: If users point to browse [http://domain.com/subdomain/](http://domain.com/subdomain/)
   they’ll redirect to [http://www.domain.com/subdomain/](http://www.domain.com/subdomain/)
 * If you wish to do so, please paste this following codes to .htaccess file:
 *     ```
       RewriteEngine On
       RewriteCond %{HTTP_HOST} !^www\.
       RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
       ```
   
 * You can find .htaccess file in root directory of WordPress installation, same
   path as wp-config.php file.
 *  Thread Starter [MetricCandy](https://wordpress.org/support/users/metriccandy/)
 * (@metriccandy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/url-problem-in-multisite/#post-4435351)
 * Thanks for your reaction I will try this tomorrow.
 * I have made some DNS additions to see if they work first needs the 24 hour cycle.
 * After 24 hours i will test this.
 *  Thread Starter [MetricCandy](https://wordpress.org/support/users/metriccandy/)
 * (@metriccandy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/url-problem-in-multisite/#post-4435422)
 * Thanks this worked for me.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘url problem in multisite’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 2 participants
 * Last reply from: [MetricCandy](https://wordpress.org/support/users/metriccandy/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/url-problem-in-multisite/#post-4435422)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
