Quote (AkuuZ @ 3 Jul 2012 03:03)
<script type="text/javascript">
window.location='yourfilename.exentsion'
</script>
just put that at the top of your page
and change the yourfilename.extension part to w/e your page is that says "under maintenance"
what if the user doenst have fucking javascript on? worst solution ever.
Quote (nickhuh @ 2 Jul 2012 20:15)
where would i put the coding to display the "under maintenance" page when i load up my website.
sorry i am a noob at web language.
i know its in my root directory of my website but im not sure which file to put it in.
i have the .html file that would display "this site is currently under going maintenance" but i do not have the script nor the knowledge on where to place the script.
any help would be appreciated.
thank you very much (:
inside your index.php above <head> write <?php include('maintenance.html'); die(); ?>
This post was edited by eagl3s1ght on Jul 3 2012 03:38am