0
Welcome Guest! Login
0 items Join Now

How to change the "Home" path in main menu?

  • How to change the "Home" path in main menu?

    Posted 16 years 4 months ago
    • Hello,
      the path of my "home" link in the main menu is mypage.com, but i'm thinking about adding an enter page to my site so i would like to change the "home" path to mypage.com/index.php, so that i can put the enter page on mypage.com. otherwise i'm always sent back to the enter page when i click on "home".
      Is there any way to do that?

      I'd also like to update the link forthe company logo to mypage.com/index.php as well.
      Can anyone please point me to the right direction?

      I'm using Joomla 1.5 - Synapse template.
      Thanks a lot!!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: How to change the "Home" path in main menu?

    Posted 16 years 4 months ago
    • It would probably be best to install Joomla on a subdomain and then you can put whatever you want on the main domain.

      I say this because there are built in functions to almost every thing in Joomla and Joomla add-ons that are going to utilize a call to it's home directory. To break this may work for now, but could cause headaches later when upgrading or adding a component or whatever else.

      You could install Joomla here:
      mypage.com/home

      Then put anything you want in:
      mypage.com

      This way everything would take care of itself and you'd save any future headaches.
  • Re: How to change the "Home" path in main menu?

    Posted 16 years 4 months ago
    • Hi Ben,

      I really appreciate the answer.
      The problem is that this is an existing site and I don't want to do the work of seeting it up again into a subdomain. I was hoping for an easy way to modify the Home page link from mypage.com/ to mypage.com/index.php.

      If I can learn how to do this, I will worry about the upgrades later when the time comes.

      Thanks again!
      Daniel
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: How to change the "Home" path in main menu?

    Posted 16 years 4 months ago
    • This is actually really easy to do. It's 4 easy steps:

      1 - Create a new directory in your root directory with the name you want to use
      public_html/home

      2 - Move all your Joomla files into it

      3 - Open configuration.php and change the following line like this:
      Find:
      var $log_path = '/home/user/public_html/logs';
      var $tmp_path = '/home/user/public_html/tmp';
      Replace with:
      var $log_path = '/home/user/public_html/home/logs';
      var $tmp_path = '/home/user/public_html/home/tmp';
      note: the first /home/user/ is related to the root of the server and most shared servers have accounts set up like this. All you really need to worry about is putting your directory name after the public_html/ part.

      4 - Upload your new configuration.php file again and change the permissions back to 444

      Now just visit your site through yoursite.com/home
      Since you're staying on the same server you don't even have to worry about your database, just leave it as it is and the site will pick it back up.


      Since this is a live site, you can copy the files over to the new directory and actually have both installations running at the same time. You don't want to do this for very long at all and you should have your other "splash page" files ready to put into the root directory once you verify the new site is up and running. Be sure to delete the first Joomla site files that you aren't using anymore once you're all set up.
  • Re: How to change the "Home" path in main menu?

    Posted 16 years 4 months ago
    • Awesome!! I'll give it a try this weekend. Thank you so much for your help!

      ... and Happy Holidays!!
      Daniel :)

Time to create page: 0.055 seconds