wxxxxw - 18 August 2005 01:24 PM
Now I am installing pMachine pro to my web server.
And I found there are several folders under root directory, like private, public, etc.
Can i build a new folder called “blog” for all of the files? because lately I want my bolg to go to the link like this: www.mysite.com/blog
Also if I want to use www.mysite.com/blog/ as the main page of my blog, what I should do? Should I do some changes on the files, like config.php etc.?
Thanks a lot.
No need to make changes to your config.php.
In your blog folder, you can do the following if you want to be able to call your weblog with the following URI structure:
http://www.yoursite.com/blog/
Make a new file called index.php.
In that file place the following code:
<?php include(“weblog.php”); ?>
And nothing else. Save the file.
Now when you to go your blog directory with your browser, the index.php file will include the weblog.php which is the default file for pMachine.
Does that help?