Appendix E. Tips and Tricks
Having used Joomla since its inception, we’ve collected a variety of helpful tips along the way. Here are a few we think are pretty important to have in our tool bag.
How to Recover Your Admin Password
Yes, it happens to all of us at some point or another. We get locked out of our own home and need to find a way back in. The procedure for Joomla 2.x and 3.x is a little different than it was in Joomla 1.5. There are two ways to do it and we’ll start with the easier of the two. You’ll need FTP access to get to the configuration.php file.
Use an FTP application to connect to your site and go to the root folder. You should see all your Joomla files there, including the configuration.php file.
Download this file and open it up in a text editor (e.g. Notepad++, TextWrangler, Sublime Text). Make sure this is a plain text editor that doesn’t convert the file to RTF or other text format (don’t use something like MS Word for this).
Add the following line to the end:
Replace “myname” with a username you know the password for and save the file.
Delete the configuration.php file on the server and upload this new file. You will now be a Super Administrator and can log in to make any necessary changes, including resetting the Super Administrator password.
- Once you’ve completed your changes and gained access, try the automatic removal of the line you added to the configuration.php file. This has mixed reliability so it’s probably best ...