Title: Multisite redirect
Last modified: September 23, 2021

---

# Multisite redirect

 *  [californiasteve9390](https://wordpress.org/support/users/californiasteve9390/)
 * (@californiasteve9390)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/multisite-redirect/)
 * I have a test multisite installed within the folder of the original multisite.
   It’s setup with subdomains. I have the main website working and the subdomain
   sites work also. When I click on the link in the menu for area pages it redirects
   to the main site even though the url is set correctly to the new site. Ideas 
   anyone, I’ve dug through my subdomains in Cpanel and in the database of the new
   test website.
    -  This topic was modified 4 years, 8 months ago by [californiasteve9390](https://wordpress.org/support/users/californiasteve9390/).
    -  This topic was modified 4 years, 8 months ago by [James Huff](https://wordpress.org/support/users/macmanx/).
      Reason: moved to Networking WordPress since this is a multisite question
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultisite-redirect%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [tcline](https://wordpress.org/support/users/tcline/)
 * (@tcline)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/multisite-redirect/#post-14903753)
 * Looks like it’s working now? When I click on the Menu for the “Area” pages, I
   get to new sites, and am not redirected to the main site.
 *  [networkmm](https://wordpress.org/support/users/networkmm/)
 * (@networkmm)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/multisite-redirect/#post-14934501)
 * use this guide and htaccess code to redirect
 *     ```
       RewriteEngine on
       RewriteOptions inherit
       RewriteBase /
   
       RewriteCond %{HTTP_HOST} ^test.example.com$ [NC]
       RewriteRule ^(.*)$ http://www.example.com/redir.php [L]
   
       RewriteCond %{HTTP_HOST} ^example.com [NC]
       RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
       ```
   
 * [https://wordpress.org/support/article/htaccess](https://wordpress.org/support/article/htaccess)
   [/](https://ariyan7.wordpress.com/2021/09/19/concrete-super-power-lubricant/)
    -  This reply was modified 4 years, 8 months ago by [networkmm](https://wordpress.org/support/users/networkmm/).

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

The topic ‘Multisite redirect’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 3 participants
 * Last reply from: [networkmm](https://wordpress.org/support/users/networkmm/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/multisite-redirect/#post-14934501)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
