How to redirect homepage in Joomla
Nov 08
Programming, Web Development Joomla 5 Comments
Joomla is a wonderful platform to publish websites. With readily available templates you can have your website up and running in no time. Sometimes though you may need to direct your visitors to a different page than your regular home page, for instance you may want to direct all the visitors to a promotion page during special sales events. There is a very simple and easy way of doing this in Joomla.
- Create and upload the standalone webpage to your domain.
- Backup your index.php file in templates/YOUR_TEMPLATE_FOLDER.
-
Add following lines to the index.php file under the templates/YOUR_TEMPLATE_FOLDER.
Now when the visitors come to your website they will be taken to NEW_PAGE.php.
After the need to redirect the traffic is over simply replace the index.php file with the file you backed up in step 1.
Happy coding..
If you enjoyed this post, make sure you subscribe to my RSS feed!






Jan 26, 2012 @ 09:31:10
This is such a good guide, will probably apply when I have a site using Joomla.
Feb 13, 2012 @ 21:09:11
Wish I would have found this post earlier. We have been fighting the index.php re-direct for along time.
Jun 06, 2012 @ 06:18:10
So redirecting could be easy. I thought it was hard. Thanks for sharing.
Sep 15, 2012 @ 09:18:35
Just what i needed! Thanks!!
Nov 26, 2012 @ 04:32:39
not working for me!