• Resolved Drew Baker

    (@dbaker)


    Hey Guys,
    I have an interesting problem here. I recently installed vBulletin board to https://www.”mydomain.com/forums/”. Now that I have it all working I want to move it to “forums.mydomain.com”. I just did this by creating the subdomain folder as per my hosts instructions (MediaTemple) and moving the files to it.

    The problem is that I think wordpress is auto redirecting my subdomain, becuase if I try to browse to forums.mydomain.com, I am auto redirected to mydomain.com/forums and given the wordpress 404 error page.

    Does this sound like a wordpress problem? I refreshed my Permalinks, but it didn’t do anything.

    Any ideas?

    Thanks for the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • well, I can’t speak to your hosts instructions as they didn’t CC me when they sent them to you… but lets talk about what you actually did.

    there should be no reason to move your forum files anywhere at all. Creating a subdomain should allow you to specify the name of a folder within your public_html – coincidentally, your forums subdomain already matches an existing folder called forums, so the process should have been largely automatic.

    anything that was accessible in /forums should be accessible as forums.yourdomain.com.

    also, wordpress doesn’t really know you’ve got subdomains unless you’re landing in the same place where wordpress is located… which folder did you move your forum to, and why on earth did you move it?

    It’s possible that you have a redirect in place after creating the subdomain, which shouldn’t be there (and wasn’t put there by wordpress).

    Thread Starter Drew Baker

    (@dbaker)

    Thanks for the help Ivovic. That sub domain setup you talk about is not the way MediaTemple do it, but thanks anyway. This is the instructions I was following. https://kb.mediatemple.net/questions/24/%28ss%29+Working+with+Sub-Domains

    Turns out that this is an old document that hasn’t been updated. A quick call to the MediaTemple 24/7 tech guy and its working now (I love mt).

    The problem was that the sub-domain folder forums.mydomain.com.au needs to have a HTML folder in that, which wasn’t mentioned in that document (unless the update it as per my request).

    Thanks again anyway.

    kb with the wrong instructions?.. unhead of ??

    glad it’s working, but I have to say you’re a far happier person than I am if you can get incorrect documentation and still proclaim your love ??

    good for you, I’m jealous.

    Hi there!

    I’m having the same problem but on MediaTemple (dv)!

    I have a mod_rewrite to rewrite:

    blog.mydomain.com to https://www.mydomain.com/subs/blog/

    and whenever I try to hit it, it redirects to https://www.mydomain.com

    I went into the wordpress php and tried to find out where it redirects, and it happens when in template_loader.php “do_action(‘template_redirect’)” is called.

    It calls the function “do_action” fine, but then as soon as it completes it redirects.

    I’m tearing my hair out here, so any help would be really appreciated…

    Cheers,
    Mark.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable Subdomain Redirect’ is closed to new replies.