View Full Version : www.mysite.com/forum wont open, but www.mysite.com/forum.index.php will
reallyfunny
02-02-2008, 09:32 PM
Title should be
www.mysite.com/forum wont open, but www.mysite.com/forum/index.php will
Hi, when a user creates a site called "test" for example, it makes a folder but theres no index.php file to load when they go to www.mysite.com/test.
But when you www.mysite.com/test/index.php it loads.
How do you get www.mysite.com/test to load the forum?
zellfaze
02-06-2008, 05:22 PM
Have you tried adding a trailing slash?
http://www.mysite.com/test/
instead of
http://www.mysite.com/test
reallyfunny
03-29-2008, 04:53 AM
yes i have - but still doesnt work - how can i fix this?
nene94
03-29-2008, 11:37 AM
Edit the .htaccess file
Insert
DirectoryIndex index.php
If DirectoryIndex exit, you need add index.php in this line.
Greets!
reallyfunny
03-29-2008, 08:19 PM
This is my .htaccess file
# Credits go to Chroder < http://www.chroder.com > for helping me with this part. Thank You Chroder :).
DirectoryIndex new_forum.php index.php
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ handler.php?_url=$1&%{QUERY_STRING} [L]
Is this all correct?
reallyfunny
03-29-2008, 08:24 PM
It seems to work when i go to www.mysite.com (it redirects to new_forum.php)
But it doesnt work when i go to www.mysite.com/example
reallyfunny
03-29-2008, 10:07 PM
So the .htaccess file works, but does not load the deafult index.php when you go to a directory (a forum)
When you go to a website www.example.com, the site automatically loads www.example.com/index.php (and does not show index.php in the URL)
My forum, doesn't automatically load index.php when going to a forum.
What is the problem? How do i fix it?
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.