Recent Topics

1 Nov 02, 2005 17:02    

Hi all,

Is there a way to change the default file that b2evo accesses when pulling info for blogs? I know about stub files, but I'm not wanting to use them... all I want to be able to do is change the default of index.php to viewblog.php or whatever.php.

I'm hoping that there is a single location where I can change this setting? Or am I going to have to hack the source code?

Thanks for the anticipated help!

2 Nov 03, 2005 16:07

I'm guessing that you want to have another page be index.php so that when you go to your domain (with no filename at the end) it shows your main page and not your blogs. An easier way to do this might be to install b2evolution in a subfolder. Or, leave it in the web root and create your main page as main.php. Then you can use .htaccess to make the server serve main.php when no filename is specified.

  <IfModule mod_dir.c>
    DirectoryIndex index.html main.php index.php
  </IfModule>

You could replace main.php with anything you want and it wouldn't matter because it won't ever be seen. index.php will still be there and you'll see the blogs when you spedify that filename in the url.


Form is loading...