NOBLOGREDIRECT with query string
-
I’ve got a multisite setup with subdomains. I also have wildcard subdomains configured on my DNS server. I want to set multisite so that the following will work:
Assuming domain1 does not exist, user goes to:
domain1.mymultisite.com/posts/some-post
The user is redirected to:
mymultisite.com/posts/some-post
So far, by using:
define( ‘NOBLOGREDIRECT’, ‘http://mymultisite.com’ );
I can get users redirected to the main domain.
Is it possible to have that setup as something like this:
define( ‘NOBLOGREDIRECT’, ‘http://mymultisite.com/$query_string’ );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘NOBLOGREDIRECT with query string’ is closed to new replies.