• Hi I have hacked WordPress to allow nested paths in multisites, these blogs start with a /s/. Eg: blogdomain.com/s/blog-name . Though the main blog still sits on blogdomain.com.

    This works fine to display the sites, but the wp-admin goes into a redirect loop. I presume this is something I need add to the ht access to redirect pages to the correct location.

    What is the correct rule to do this, I have tried : RewriteRule ^/s/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) /s/$2/wp-admin/index.php

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Sorry for the slow reply. If this is still an issue for you, what admin URL is requested that is causing the redirect loop and what should it be? Wouldn’t you essentially just need to strip out the /s? Would doing so mess up the front end? If so, what condition can be used to distinguish front end from admin requests?

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite (with nested paths) wp-admin redirect loop’ is closed to new replies.