• Boris

    (@travel-junkie)


    Hey there,

    I have a WP MS install that is set to using subdomains, which works just as it should. Blog registration is disabled and there will only be a set amount of blogs. I do, however, need to display dynamic content of the main blog on subdomains that are not part of the WP network, but that obviously redirects to the signup page if that subdomain does not correspond to a registered blog. Does anybody know of a way to do that without actually modifying wp-includes/ms-settings.php?

    Thanks for your help!

    ~Boris

Viewing 8 replies - 1 through 8 (of 8 total)
  • dgilmour

    (@dgilmour)

    There’s been a similar question raised here http://wordpress.org/support/topic/problem-with-subdomains-1?replies=4#post-2052196, where it’s been possible to work round the default behaviour by careful ordering of the DNS records.

    Thread Starter Boris

    (@travel-junkie)

    Thanks for your reply, dgilmour, but this won’t work as my non-wp subdomains are also dynamic, just like the wp ones. There’s no DNS record for them, they’re part of the whole wildcard thingymajiggy.

    If your non-wordpress subdomains are also relying on wildcards then… yeah. I dunno how you can solve that. It’s gotta go to one place or the other. can’t be both.

    Thread Starter Boris

    (@travel-junkie)

    Allright, thanks for your answer, Andrea. It’ll still be a couple weeks until I have to tackle that problem. If nothing comes up here until then, then I’ll modify ms-settings.php. Because of my set amount of WP subdomains that should work. I’ll just have to live with all the bad karma by modifying core files 🙂

    Tim Moore

    (@tmoorewp)

    If you have a set amount of WP subdomains, then manually enter then into your Apache config. Where you would put *.domain.com, put the actual subdomain. At the very end of the list, put your wildcard subdomain pointing to your other app.

    That’s about the easiest way you are going to get around it. Modifying Core would be more difficult, I imagine.

    Thread Starter Boris

    (@travel-junkie)

    Well, but WP would still try to take over and redirect to the register page cause the install is set to using subdomains, wouldn’t it? Can’t use seperate installations for the WP subdomains cause I need a global user table.

    I’ve had a look at ms-settings.php already and it’d be fairly easy to hack.

    WP would still try to take over and redirect to the register page cause the install is set to using subdomains, wouldn’t it?

    well it would… but then with what Tim is suggesting, the wildcard sub would then go to your non WP parts. thus never getting to WP to look up non-existing blogs.

    Thread Starter Boris

    (@travel-junkie)

    Allright, thanks for clarifying that. I’ll give it a go!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Separate subdomain handling’ is closed to new replies.