View Full Version : change index.php of directory
04-06-2005, 05:43 PM
i have installes pixelpost in a folder (/photoblog) and i want to put index.php in / , (so a visitor dont need to put www.domain/photoblog) , any suggestions ?? :roll:
Can't you move everything up one directory, then go to admin and fix the paths?
If not, you can move index.php, but you will have to change a lot of code so that all of the includes still work. The easiest fix is to redirect from / to your blog. Do this by creating a new index.php in / and put the following line in it.
<?php header("Location: /photoblog/index.php"); ?>Make sure there are no blank lines before or after.
04-06-2005, 06:56 PM
yes, redirecting works, so i have all pixelpost yin one directorym, thanks
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.