Support » Plugin: Networks for WordPress » Existing WP multisite with subdirectories: redirection issues

  • Hi!
    Plugins “kind of” works: i can create sub-networks and add or move sites to the new network. From the wp-admin side, everything works, unless I move an existing site from the original network to the newly created one.
    When i test, either i get a 404 error for the main site, or i do land on the right website but no image is found. Either way, the wp-admin for that site is not accessible (error “too many redirects”).

    Perhaps the mistake is in my htaccess? Here is its content:

    RewriteEngine On
    RewriteBase /
    # BEGIN WordPress
    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).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress

    Thank you for any help you can provide.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Dean


    Hi Alex –

    Your .htaccess looks fine to me.

    Did you use the Check Network Settings button before you created your new network? Also, can you tell me whether there are any errors if you click the “Verify” link under your new network on the Networks admin page?

    hello David,

    Yes i used teh “Check network” functionality beforehands, and had no errors.
    Verify doesn’t show any error neither.

    Let me know if you want me to try things.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Existing WP multisite with subdirectories: redirection issues’ is closed to new replies.