• I am rebuilding a site and I created a temp landing page, manual maintenance mode if you will. Just a simple index.html, which my server serves before index.php. When I try to access site.com/index.php, it is just sending me to index.html. I can however, see the admin no problem, but when I click on visit site within the dashboard, it takes me to the index.html. I tried editing the .htaccess file pointing towards each file but regardless, still send back to index.html. How can I access the front end while it sits behind my temp page? Every previous time I have done this on other servers it hasn’t been an issue whatsoever…any assistance anyone can provide would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to delete or rename index.html as other index files (like index.php) will not load when that file takes precedence.

    Thread Starter qozmiq@gmail.com

    (@qozmiqgmailcom)

    Can I just have the htaccess point to something like…temp.htm and then be able to access index.php? Testing this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^temp\.htm$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /temp.htm [L]
    </IfModule>

    to send it to a temp.html page yielded nothing but index.php. I imagine I need to add code to perform this as opposed to editing what was currently there?

    It can be done but a bit complex. Instead try what I suggested or contact your hosting provider for help. That will be the easiest.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Temp index.html is blocking entire site.’ is closed to new replies.