Support » Fixing WordPress » Changing address bar display

  • TAB

    (@tab)


    I am responsible for two wordpress blogs hosted on the the same server, but I would like each blog to have its own domain. So currently, I have Blog 1 (blog1.com) hosted on on the root of the server and Blog 2 (blog2.com) hosted on a folder on the server (blog1.com/blog2).

    I also have the domain name for Blog 2 (blog2.com) forwarded automatically to blog1.com/blog2

    Does anyone know how I can customise Blog 2 so that all of its permalinks display as http://www.blog2.com/2007/10/19/blogpost/ in the address bar rather than http://www.blog1.com/blog2/2007/10/19/blogpost/ which it currently does.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • brockangelo

    (@brockangelo)

    This is how I have mine setup, though my host makes it easy. I have ipowerweb, running “vDeck”, and it allows Domain Pointing to a folder inside my shared hosting. I have five domains all in their own folder. It is very much like your setup, except I also put my “blog1” into its own folder as well to keep it all the same.

    So, just to clarify, it looks like this:

    angeloarchive.com/brockangelo = brockangelo.com
    angeloarchive.com/angeloarchive = angeloarchive.com
    angeloarchive.com/earthsedge = earthsedge.org

    Depending on your configuration, there are probably a few ways you could do it. You might try these links to get you started:

    http://codex.wordpress.org/Installing_Multiple_Blogs
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
    http://codex.wordpress.org/Moving_WordPress

    TAB

    (@tab)

    Thanks for the links, I’ve used them and this one (http://hammokstudios.com/index.php?Itemid=36&id=15&option=com_content&task=view) as a guide and here’s what I did:

    1. Used phpmyadmin to edit the site in the wp_options section of the wordpress database to blog2.com
    2. Logged into Blog to and changed the URL in the admin options from blog1.com/blog2 to blog2.com

    Posts within Blog 2 load with the blog2.com/2007/10/19/blogpost/ URL which is exactly what I wanted BUT all the styling is gone, it’s just text and images.

    Any idea what could be wrong?

    moshu

    (@moshu)

    Everything.
    You can not change those values arbitrarily…
    There are two URI values stored in the database: home and site_url. One of them (site_url) has to point where the physical location of your WP install is. Otherwise it cannot find the stylesheet in your theme folder.

    But for having the install in a different place and the display in another – you need to go through this:
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
    WARNING! Since your problem is related to how domains are added to your hosting account… it might not work as expected.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing address bar display’ is closed to new replies.