WordPress.org

Support

Support » How-To and Troubleshooting » manually modify ‘home directory’

manually modify ‘home directory’

  • 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..

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes / no … depends on what you are wanting to do exactly. We need more information .

    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..

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘manually modify ‘home directory’’ is closed to new replies.
Skip to toolbar