Title: [Plugin: WP Multi Network] Permalink not working
Last modified: August 19, 2016

---

# [Plugin: WP Multi Network] Permalink not working

 *  Resolved [bearvv](https://wordpress.org/support/users/bearvv/)
 * (@bearvv)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-multi-network-permalink-not-working/)
 * I got some problem to make the Permalink working. Let say I got 2 sites. site1.
   com and site2.com(I setup site1.com first and then add site2.com through WP Multi
   Network plugin
 * Network Name: site2
    Domain:: [http://www.site2.com](http://www.site2.com) Path:/
   Site Name: site2
 * I can go to the site2.com home page and the admin page. But if I click on the
   hello post (e.g. [http://www.site2.com/2010/11/18/hello-world/](http://www.site2.com/2010/11/18/hello-world/)),
   it just redirect me to the site1 home page (i.e. [http://www.site1.com](http://www.site1.com)).
   
   Does anyone know what’s going wrong? Thanks a lot.
 * My code in wp-config.php
 *     ```
       define('WP_ALLOW_MULTISITE', true);
       define( 'MULTISITE', true );
       define( 'SUBDOMAIN_INSTALL', false );
       $base = '/';
       define( 'DOMAIN_CURRENT_SITE', 'www.site1.com' );
       define( 'PATH_CURRENT_SITE', '/' );
       define( 'SITE_ID_CURRENT_SITE', 1 );
       define( 'BLOG_ID_CURRENT_SITE', 1 );
       ```
   
 * My .htaccess
 *     ```
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
   
       # uploaded files
       RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
   
       # add a trailing slash to /wp-admin
       RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
       RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
       RewriteRule . index.php [L]
       ```
   
 * [http://wordpress.org/extend/plugins/wp-multi-network/](http://wordpress.org/extend/plugins/wp-multi-network/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [bearvv](https://wordpress.org/support/users/bearvv/)
 * (@bearvv)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-multi-network-permalink-not-working/#post-1775983)
 * Oh I finally found the answer. [http://wordpress.org/support/topic/simple-domain-mapping-without-any-plugins-wordpress-30?replies=4](http://wordpress.org/support/topic/simple-domain-mapping-without-any-plugins-wordpress-30?replies=4)
 * You need to replace:
 * define( ‘DOMAIN_CURRENT_SITE’, ‘yourdomain.com’ );
 * with
 * define( ‘DOMAIN_CURRENT_SITE’, ”. $_SERVER[‘HTTP_HOST’].” );

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Multi Network] Permalink not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-multi-network/assets/icon-256x256.png?rev=1534001)
 * [WP Multi Network](https://wordpress.org/plugins/wp-multi-network/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-multi-network/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-multi-network/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-multi-network/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-multi-network/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-multi-network/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [bearvv](https://wordpress.org/support/users/bearvv/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-multi-network-permalink-not-working/#post-1775983)
 * Status: resolved