Skip to content

dart-creations.com

Advertisement
Home arrow Joomla arrow Joomla Tips and Tricks arrow #29 - Joomla redirects to installation directory

Print E-mail

#29 - Joomla redirects to installation directory problem

Sometimes, after some changes to the configuration.php file in Joomla, you might find that your website is suddenly trying to redirect to the installation directory. However the page gives a 404 error because the page you are directed to is not found.  What is happening? 

To understand and solve this problem one needs to understand how Joomla works. Each time the root index.php file is accessed, it looks for the configuration.php. If the config file is found, the site is displayed. If it is not found, it assumes that this is the first time Joomla is run, and therefore the user is redirected to the installation directory to start the installation. 

So if you have done any changes (renamed or deleted) to the configuration.php file, or if this file for some reason cannot be accessed, Joomla assumes it hasn't been installed, and thus redirects to the installation directory. But in the last step of the installation, you have to delete this directory (otherwise Joomla won't work), and therefore the page is not found.

To solve this problem, make sure that configuration.php file can be accessed, or restore it from a previous backup.

Comments
Add NewSearchRSS
Write comment
Name:
Title:
Security Image
 

Subscribe to our feed


RSS Feed

DART Creations - Joomla Tutorials, Tips and Tricks and more...

Joomla Tips

DART Creations Joomla Tips, Tricks, tutorials and general Joomla help

Sponsors

Buy us a beer!

Lots of time and effort goes into creating and maintaining this site. If we've helped you, consider buying a beer. It will inspire us to keep on giving! Thanks! (€3)






Cheers ;)