WordPress.org

Ready to get started?Download WordPress

Forums

Networks for WordPress
Existing WP multisite with subdirectories: redirection issues (3 posts)

  1. pixeline
    Member
    Posted 1 year ago #

    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.
    Alex.

    http://wordpress.org/extend/plugins/networks-for-wordpress/

  2. David Dean
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  3. pixeline
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic