WordPress.org

Ready to get started?Download WordPress

Forums

how to use one blog with two hostnames (2 posts)

  1. kingler
    Member
    Posted 8 years ago #

    I've set up a WordPress blog on
    http://www.mysite.com/
    but I also have another hostname with the same IP address at
    http://www.secondsite.com/

    But in WordPress admin OPTIONS, I can only set the WordPress address (URI) and the Blog address (URI) to a single hostname.
    I can get the main page using either one of the two hostnames, but all the links are asscociated with the URL I set in the OPTIONS. Is it possible to make all the links relative?

    I took a look into the default Kubrick template, and I seems the link addresses are pulled out from get_bloginfo() function. Can this function output relative URLs instead of full URL address?

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    No.
    One hostname, or things break.

Topic Closed

This topic has been closed to new replies.

About this Topic