• 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)
  • 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.

    Thread Starter camilodelvasto

    (@camilodelvasto)

    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 https://www.kienyke.com, and the mobile version is located at https://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.

    what post?

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

    Thread Starter camilodelvasto

    (@camilodelvasto)

    This one: https://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.

    Did you follow the instructions in Moving_WordPress?

    Thread Starter camilodelvasto

    (@camilodelvasto)

    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.

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

    Thread Starter camilodelvasto

    (@camilodelvasto)

    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.

    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?

    Thread Starter camilodelvasto

    (@camilodelvasto)

    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.

    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.

    Thread Starter camilodelvasto

    (@camilodelvasto)

    Hi again.

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

    No more hassles!

    Thanks,
    Camilo

    Thread Starter camilodelvasto

    (@camilodelvasto)

    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!

    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.