Support » Networking WordPress » Redirecting Non Existing Subdomain To Main Page

  • Resolved Liltiger

    (@liltiger)


    Hi There,

    I’ve upgraded to WP 3.8 and now my non-existing subsites redirect to the registration page instead of the homepage of the main blog. Is there a way for me to undo this?

    I’ve tried: define(‘NOBLOGREDIRECT’, ‘%siteurl%’); in the wp-config, but then all pages redirect to the main page instead of 404 for example.

    Much Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • I let them go to the main site, you could try hard coding the url

    define( ‘NOBLOGREDIRECT’, ‘http://yourdomain.com/404/’ );

    Thanks for replying. The define(‘NOBLOGREDIRECT’, ‘%siteurl%’); seems to allow my 404 to work. I’m not sure what I changed to get it though.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirecting Non Existing Subdomain To Main Page’ is closed to new replies.