Support » Networking WordPress » Child blog redirection problem

  • I’m having a serious problem with the permalink structure of a child blog. We’re using WordPress multisite to power a blog+mobile version, using the sub directory approach and multipost mu plugin to duplicate content from one version to another.

    The problem appears when an editor logs into the system and try to edit a post: the mobile version gets redirected to a post in the standard version. The redirection problem is then fixed by updating the siteurl and home url in the super admin menu.

    The weird thing is that it’s always redirected to the same post, and it only happens with editors, not with admins.

    We tried changing the blog url to a different one (before it was mydomain/m and then we changed it to mydomain/mobile) but the problem persists: as soon as an editor logs in, the url are lost and the child blog is redirected to a different post.

    Any light would be appreciated in order to fix it, this is a very annoying problem.

    Thanks,
    Camilo

Viewing 14 replies - 1 through 14 (of 14 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Check and see what blog is listed as that editor’s primary blog. When they log in, they will also get redirected to their primary blog.

    Thanks for your help Andrea,

    Maybe I was not that clear, but the problem we are experiencing is the siteurl changes when an editor logs in.

    So, the master blog is located at http://www.kienyke.com, and the mobile version is located at http://www.kienyke.com/mobile/. When the editor logs in and any user tries to visit /mobile/, she gets redirected to a post in the master blog, instead of seeing the /mobile/ home. So the whole mobile version url is lost and the only way to recover it is updating the siteurl in WP super admin.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    what post?

    And also – standard troubleshooting is to disable *all* your plugins. the mobile link worked for me.

    This one: http://www.kienyke.com/2010/11/18/man-ray/

    This was when the mobile version was located at /m instead of /mobile/. When I switched to /mobile/, the problem I experienced was a 404 and the inability to navigate through the mobile version of the blog. It happened also when the editor logged in.

    esmi

    (@esmi)

    Forum Moderator

    Did you follow the instructions in Moving_WordPress?

    Thanks esmi, but I did not move WordPress.

    @andrea We have very few plugins, but we really can’t disable them since this is a live magazine. We set up a copy in dev.kienyke.com but we were unable to reproduce the error.

    I don’t know if this is something related to the /blog suggestion the multi site installer drop into the permalink structure. We removed it to avoid 404s with some already Google indexed pages. However, the dev server is setup in the very same way and we do not experience the error.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Then you;re just going to have to go digging on the live site somewhere to see if there’s a permalink conflict.

    I don’t really understand what I should do, but I have not seen any other permalink problems. Currently the site is working fine and it will until the editor logs in. =( – Then I should have to update the permalink structure in the mobile blog to fix it.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    This problem:

    So the whole mobile version url is lost and the only way to recover it is updating the siteurl in WP super admin.

    is different from:

    Then I should have to update the permalink structure in the mobile blog to fix it.

    Which one is it?

    It’s the same problem.

    In any case, some more digging into the problem lead me to the following:

    1. If the editor logs in first in the master blog and then she goes to /mobile/wp-admin (no need to authenticate again) the permalinks structure is not changed, no problem occurs.

    2. If the editor logs in first to the child blog, the permalink structure changes, rendering the mobile version unusable.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    If the editor logs in first to the child blog, the permalink structure changes,

    To what, exactly?

    And this part:

    the only way to recover it is updating the siteurl in WP super admin.

    is technically different and in a different spot that what you just said.

    If the permalink structure on the main blog changes and interferes with the mobile blog, and you;re only fixing the permalinks on the main blog and NOT updating the mobile blog, let me know.

    If you *are* having to go in and and physically re-type the URL for the mobile blog, then PLEASE. Let me know what the site url is being changed TO.

    Hi again.

    Apparently the problem fixed “itself” when I upgraded WP and all the plugins.

    No more hassles!

    Thanks,
    Camilo

    Just one question…. how do I remove the URL’s I pasted in previous messages? I don’t seem to be able to edit the entries!

    Thanks!

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    you only have a 30 minute limit to edit your posts.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Child blog redirection problem’ is closed to new replies.