Getting base domain url
-
How do I get the base URL of a multiuser site with subdomains?
For example, on a site with the domain https://site.com I would use bloginfo(‘url’)
This would take me to https://site.com.Lets say I’m on a subdomain like https://blog.site.com
Then the code would take me to https://blog.site.com.
What I need is to make it go to https://site.com
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Getting base domain url’ is closed to new replies.