WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Getting base domain url (2 posts)

  1. xrun
    Member
    Posted 3 years ago #

    How do I get the base URL of a multiuser site with subdomains?
    For example, on a site with the domain http://site.com I would use bloginfo('url')
    This would take me to http://site.com.

    Lets say I'm on a subdomain like http://blog.site.com
    Then the code would take me to http://blog.site.com.
    What I need is to make it go to http://site.com

  2. xrun
    Member
    Posted 3 years ago #

    Resolved by using custom buddypress functions and code for the links to certain profile screens. See buddypress.org forums.

Topic Closed

This topic has been closed to new replies.

About this Topic