WordPress.org

Ready to get started?Download WordPress

Forums

manually modify 'home directory' (4 posts)

  1. toothbrsh
    Member
    Posted 9 years ago #

    i would like to manually change the 'home directory' that wordpress automatically generates

    when the script <?php bloginfo('url')> is called, wordpress will call the 'home directory' of the site.. say it is 'www.mysite.com'.. can i manually override this to 'www.xxx.com' ?

    if so how can i do it ? thanks for all your help.. cheers everyone..

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

    Yes / no ... depends on what you are wanting to do exactly. We need more information .

  3. toothbrsh
    Member
    Posted 9 years ago #

    let's say i installed wordpress in http://www.xxx.com/blog/.. i would like wordpress to generate a different URL (say http://www.yyy.com) when the command <?php bloginfo('url')> is called from within the theme header..

    and.. why i want to do this.. is because i just set up a new blog on a new domain.. the new domain does not come with hosting space so i'm redirecting that to a subdirectory of my existing site..

    hope this info. helps.. thanks..

  4. Nicki Faulk
    Member
    Posted 8 years ago #

    Did you ever find a fix for this? I have an install now that is behaving that way, and I am having a heckuva time trying to fix it.

    Instead of opening wordpress.domain.com/, it's opening http://www.domain.com/username/wordpress ... which is not what I want.

Topic Closed

This topic has been closed to new replies.

About this Topic