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..

If you enjoyed this post, make sure you subscribe to my RSS feed!

7 Thoughts on “How to redirect homepage in Joomla

  1. This is such a good guide, will probably apply when I have a site using Joomla.

  2. Wish I would have found this post earlier. We have been fighting the index.php re-direct for along time.

  3. So redirecting could be easy. I thought it was hard. Thanks for sharing.

  4. Just what i needed! Thanks!!

  5. not working for me!

  6. 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.

  7. 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.
    Cheers

Leave a Reply

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

Post Navigation