Redirecting to your Free Mobile Site provided by OpenMenu

In case you didn’t know we offer a free mobile website to all restaurants on the OpenMenu Platform.  The address is simply http://openmenu.com/m/restaurant/OPENMENU_ID .  Below is some information on redirecting to your mobile site from any existing website.

Sample: http://openmenu.com/m/restaurant/sample

If you’re having trouble identifying your mobile site’s URL use our Search tool to locate your restaurant.  A link to your mobile site and QR Code is provided.

Redirecting:

Now that you can access your complimentary mobile site you can safely redirect your mobile site to our page.  Using one of the codes below your mobile site can easily, and properly, perform a redirect.

PHP

<?php
  header ("HTTP/1.1 301 Moved Permanently");
  header ("Status: 301 Moved Permanently");
  header ("Location: http://openmenu.com/m/restaurant/OPENMENU_ID"); exit(0);
?>

ASP.NET

<script runat="server">
 private void Page_Load (object sender, System.EventArgs e) {
   Response.Status = "301 Moved Permanently";
   Response.AddHeader("Location","http://openmenu.com/m/restaurant/OPENMENU_ID");
 }
</script>

Javascript

<script type="text/javascript">
<!--
window.location = "http://openmenu.com/m/restaurant/OPENMENU_ID";
//-->
</script>

ASP

<%
 Response.Status="301 Moved Permanently"
 Response.AddHeader "Location", "http://openmenu.com/m/restaurant/OPENMENU_ID"
%>

Detecting a mobile device

If you are interested in auto-detecting a mobile device to redirect the visitor for them you can use this MIT License mobile detection script (php).

If you need assistance please check out our Service Providers.

This entry was posted in OpenMenu, Projects, Restaurants and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>