Actions

Difference between revisions of "Putting default 'Home Page' at any position in mainmenu"

From Joomla! Documentation

Line 7: Line 7:
 
then add this lines at the end of your .htaccess file:
 
then add this lines at the end of your .htaccess file:
  
<source lang="htaccess">
+
<source lang="apache">
 
RewriteCond %{REQUEST_METHOD} GET
 
RewriteCond %{REQUEST_METHOD} GET
 
RewriteRule ^index.php$ index.php?option=com_frontpage&Itemid=1  [QSA,L]
 
RewriteRule ^index.php$ index.php?option=com_frontpage&Itemid=1  [QSA,L]

Revision as of 06:46, 2 August 2008

By default in Joomla! 1.0.x the first page in mainmanu is also the default home page for your site. You can't put front page on some other position in menu and set it up as your home page, at least you can't do it using administrator interface.

But you can do some little modification in .htaccess file to achieve similar effect..

First you create link in the main menu to your front page and put it on place where you want ... it doesn't need to be first place in your main menu.

then add this lines at the end of your .htaccess file:

RewriteCond %{REQUEST_METHOD} GET
RewriteRule ^index.php$ index.php?option=com_frontpage&Itemid=1   [QSA,L]