/index.php Problem

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
User avatar
sea-horse2
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Sat Feb 16, 2013 11:45 am

/index.php Problem

Post by sea-horse2 » Thu Nov 26, 2015 11:08 am

I moved my website to another server (cpanel to DirectAdmin) everything is ok but, no matter 'URL rewriting on or off, the website's domain doesn't open unless I append a /index.php manually.
I guess this is a .htaccess problem, I implemented the htaccess.txt but no luck.

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: /index.php Problem

Post by ranwilli » Thu Nov 26, 2015 1:38 pm

It MAY help to add the following statement to the .htaccess file:

Code: Select all

DirectoryIndex index.php index.html
this is typically done at the top of the file
right after:

Code: Select all

##
# @package		Joomla
# @copyright	Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
# @license		GNU General Public License version 2 or later; see LICENSE.txt
##
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

User avatar
sea-horse2
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Sat Feb 16, 2013 11:45 am

Re: /index.php Problem

Post by sea-horse2 » Thu Nov 26, 2015 9:15 pm

Done, Just great. I can't thank you enough.


Locked

Return to “General Questions/New to Joomla! 2.5”