Admin Bar Redirecting back to Home from Sub-directory Install.
-
Hi,
Logged out users should be directed to http://micro.webfactional.com/sydney/ when they log in, but instead they get this: http://micro.webfactional.com/wp-login.php?redirect_to=http%3A%2F%2Fmicro.webfactional.comCan someone help me out with this? I’ve been looking for a solution for about 4 days, and am desperately trying to help my client.
Using BP 1.5.5. On top of a clean WP install. All the plug-ins but BP turned off.
Thanks!
Mark
-
@capnmarrrrk please clarify your site’s structure.
– You have no site at domain root, webfactional.com
– I see WP installed at micro.webfactional.com with Site Title, “My Site”, and this is a multisite installation
– I see another and separate WP site installed in subdirectory of micro.webfactional.com at http://micro.webfactional.com/sydney/ with Site Title, “My Blog” and the link would go to micro.webfactional.com, that’s expected
– Do you have a page named sydney at micro.webfactional.com?Hi, thanks for getting back to me.
That’s my test site. If we’re looking at a real domain that’s not a part of webfactional there’s http://www.microglobalscope.org/ and http://www.microglobalscope.org/sydney which does the same thing as the test site. with the redirect.
So the structure is Microglobalscope.org with there being another network site at /sydney…which leads me to ask the question, that perhaps I didn’t know…Using WPMU, isn’t that site /sydney a part of the buddy press system? I mean it shows up in the Activity and Blogs? So I assumed the that meant the log in would work too.
It should work, yes.
What’s in your site’s .htaccess file? Are you using a ‘subdir’ or ‘subdomain’ type of install for multisite? (you would have been asked when you first enabled multisite)
Thanks @djpaul,
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).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]
RewriteRule . index.php [L]I’m pretty sure it’s subdir, otherwise it wouldn’t work right?
`define( ‘SUBDOMAIN_INSTALL’, false );`
Can I un/disable the re enable?Bump for some solutionary love?
@capnmarrrrk This is now about microglobalscope.org, right?
== So the structure is Microglobalscope.org with there being another network site at /sydney ==
Sanity check. You mean you installed WP at domain root Microglobalscope.org and made it multisite (network). Then you created a physical subdirectory and installed WP there as well and created another network?
And what do you mean by “microglobalscope.org/sydney which does the same thing as the test site. with the redirect.”? What redirect and why?
@mercime
Hello again, and thanks for getting back to me so quickly.. Yes, it is about Microglobalscope.org and there being an install at /sydney. Let’s ditch the whole test site/micro.webfactional thing. I wanted to get this fixed on a clone of Microglobalscope, but for brevity’s sake, I’ll just work on the main site. Microglobalscope.orgIn regards to your sanity check…I have installed WP at domain root Microglobalscope.org and made it multisite. I did NOT create a physical subdirectory and install WP there. Just a standard WPMU site creation through the dashboard. So if you go to microglobalscope.org/sydney and log in it redirects you back to Microglobalscope.org instead of the sydney site.
Does this make more sense now?
- The topic ‘Admin Bar Redirecting back to Home from Sub-directory Install.’ is closed to new replies.