How to redirect homepage in Joomla

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.

  1. Create and upload the standalone webpage to your domain.
  2. Backup your index.php file in templates/YOUR_TEMPLATE_FOLDER.
  3. 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..

6 years ago


  1. The common man or woman can make delightful, homemade bread
    quite simply with a bread maker. “Check this out this review site: Bread Maker Reviews. Put the strawberries and pineapples into the blender or smoothie maker, Put in the ice cubes or the water and begin to blend slowly.

  2. I know this if off topic but I’m looking into starting my own weblog and was wondering what
    all is required to get setup? I’m assuming having a blog like yours
    would cost a pretty penny? I’m not very internet smart so I’m
    not 100% sure. Any recommendations or assistance would be greatly appreciated.

Leave a Reply

Your email address will not be published. Required fields are marked *