0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

set default page {SOLVED}

  • set default page {SOLVED}

    Posted 13 years 6 months ago
    • I am trying to upload a temporary index.html page on my website but Joomla seems to be set to go to index.php

      I've tried editing the htaccess.txt file by adding this:
      DirectoryIndex index.htm index.html index.php

      But it doesn't seem to have done anything. Is there anywhere else to set the default home page???
    • Last Edit: 13 years 6 months ago by artful2010.
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: set default page {SOLVED}

    Posted 13 years 6 months ago
    • If you are just trying to test the page you can just use www.yoursite.com/index.html

      What did you put in your .htaccess file?

      Something like this?
      Redirect /index.php yoursite.com/index.html
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
  • Re: set default page {SOLVED}

    Posted 13 years 6 months ago
    • thank you for the quick response :D

      I put the following line into the htaccess file:
      DirectoryIndex index.htm index.html index.php

      i need to general public to be directed to the index.html as a temporary landing page until the development is complete. I've done this on a ton of sites before but for some reason now joomla has decided to default to index.php :shock:

      Any thoughts?
  • Re: set default page {SOLVED}

    Posted 13 years 6 months ago
  • Re: set default page {SOLVED}

    Posted 13 years 6 months ago
    • nope
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: set default page {SOLVED}

    Posted 13 years 6 months ago
    • artful2010 wrote:
      thank you for the quick response :D

      I put the following line into the htaccess file:
      DirectoryIndex index.htm index.html index.php

      i need to general public to be directed to the index.html as a temporary landing page until the development is complete. I've done this on a ton of sites before but for some reason now joomla has decided to default to index.php :shock:

      Any thoughts?

      Is the Joomla site on the same server as the others? Same host doesn't always mean the same server. Is anything working in .htaccess? There really isn't anything in Joomla that has to do with .htaccess overrides. It's kind of a server issue. That's why I ask if you are working on the same server or not.
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
  • Re: set default page {SOLVED}

    Posted 13 years 6 months ago
  • Re: set default page {SOLVED}

    Posted 13 years 6 months ago
    • okay so I solved it - turns out that the standard file htaccess.txt that comes with joomla just needed to be renamed .htaccess :oops:

      So silly really. Thanks for all of your help.
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: set default page {SOLVED}

    Posted 13 years 6 months ago
    • So when we were talking about .htaccess... we really weren't talking about .htaccess, lol

      Nice job figuring it out :)
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
  • Re: set default page {SOLVED}

    Posted 13 years 6 months ago

Time to create page: 0.084 seconds