SERVER_NAME is not working with multisite/multidomain
-
Hello guys. You use $_SERVER[‘SERVER_NAME’] in functions.php file – https://prnt.sc/es9toi. Looks like it’s not working in Multisite mode with multidomain option enabled. I have redirect to main domain site every time when click on Logout button. I think SERVER_HOST will more suitable for this case.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘SERVER_NAME is not working with multisite/multidomain’ is closed to new replies.