The MU forums have moved to

Installing in root directory (3 posts)

  1. lordrich
    Posted 17 years ago #

    Hi, I've installed wpmu in the root directory of my website, but whenever somebody visits they get given the default /main blog. How do I make it so that the front page goes to a seperate directory?

  2. andrewbillits
    Posted 17 years ago #

    There are two ways to fix this problem.

    1) edit your .htaccess file and change the line that redirects to the main blog. Put in it's place any file you wish.

    2) What a lot of people have done is to actually make the main blog into their site. In other words create a template for the main blog and use that as your site. People have just disabled registrations and use the blog features as a way to post news.

    Good luck,

  3. lordrich
    Posted 17 years ago #

    So basicly I just have to work out which line does what in the htaccess file then.

    I ended up changing RewriteRule ^$ /wp-inst/index.php [L] to
    RewriteRule ^$ /home.php [L]

    and adding the following two lines

    RewriteRule ^([_0-9a-z-]+)/index.php(.*) /wp-inst/index.php [L]
    RewriteRule ^([_0-9a-z-]+)/(.*) /wp-inst/index.php [L]

    and it appears to have worked.

About this Topic

  • Started 2024 years ago by lordrich
  • Latest reply from lordrich