Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Re-direct viewers till my sites ready?

    i want to re-direct to main.html till my sites ready.
    main.html contains 'under construction' text

    My .htaccess contains text below

    DirectoryIndex main.html index.htm index.php

    This works in that main.html is what is shown.

    The problem im having now is even when i type in my index.php URL
    i get re-directed to main.htm.
    so i cant see my zencart homepage

    if i remove .htaccess, then i (and everyone else) sees my unfinished zencart index page

    Help please!
    Cookie

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Re-direct viewers till my sites ready?

    Is there a reason you don't just rename main.html to index.html, or is your server configuration such that index.html doesn't load first ?

  3. #3
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Re-direct viewers till my sites ready?

    Hi
    it was index.html
    i just changed it to 'main.html' try to fix the problem.
    re:server configuration -yes - index.html doesnt load
    if i remove the .htacces
    the server goes straight to my zencart index.php
    i just need to see this page privately

    Thanks

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Re-direct viewers till my sites ready?

    I haven't seen a server set up that way, but the only other thing I can think of would be to password-protect the site, usually doable in your hosting control panel.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 6 Nov 2013, 12:06 AM
  2. Asking Viewers questions
    By irishshopper in forum Basic Configuration
    Replies: 1
    Last Post: 2 Jun 2011, 12:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg