Post by pooks » Wed Nov 13, 2013 10:25 pm

Does anyone have code or idea how to make simple http redirect when site is on maintenance?

I'd like to make custom html page for maintenance period and I'd need it without any OC code or libraries messing it up

Thanks!

New member

Posts

Joined
Tue Mar 27, 2012 1:42 am

Post by Qphoria » Wed Nov 13, 2013 10:41 pm

Add a simple javascript redirect to the catalog/view/theme/YOURTHEME/template/common/maintenance.tpl file

Code: Select all

<script type="text/javascript">window.location = "http://www.yoururl.com";</script>

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by pooks » Thu Nov 14, 2013 5:46 pm

thanks so much!

New member

Posts

Joined
Tue Mar 27, 2012 1:42 am
Who is online

Users browsing this forum: No registered users and 2 guests