Support » Networking WordPress » Hook into subdomain not found

  • Hi,

    Imagine I have wordpress multisite running on in subdomain mode.

    I want to redirect any subdomain that DOESN’T exist on to another subdomain on

    For example, if doesn’t exist, I want to redirect to

    ex. ->

    But if exists, I want the regular WP multisite blog to load up.

    How can I accomplish these? How can I hook into “subdomain not found”?


Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    I suspect you’d have to mess with this:

    define( 'NOBLOGREDIRECT', '');

    Somehow pick up the subdomain and parse that …

Viewing 1 replies (of 1 total)
  • The topic ‘Hook into subdomain not found’ is closed to new replies.