The MOST Simple iPhone Browser Redirect Script

August 8, 2018

javascriptlogo Theme Builder LayoutThe best iPhone Browser Redirect JavScript we’ve seen.

After evaluating several different ways to do this I found this iPhone browser redirect script to be the simplest one out there. Simply past this into the page header and edit the url for your iPhone enabled page:

<script language=javascript>
<!–
if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
   location.replace(“https://hostutopia.com/mobi/”);
}
–>
</script>

 

Share this article:
 




eHost-square-ad Theme Builder Layout

We’re listening.

Have something to say about this article? Share it with us on Facebook, Twitter or LinkedIn:

SHARE IT HERE:

Related Posts

our-holiday-shopping-tips-to-keep-you-cybersafe Theme Builder Layout

Our Holiday Shopping Tips to Keep You Cybersafe

The holidays are almost here, and for many people that means shopping. Unfortunately, scammers and hackers are already standing by to take advantage of consumers through data breaches and fraudulent activity, increasing the importance of holiday shopping safety....

what-to-know-about-iot-and-smart-toys-this-holiday-season Theme Builder Layout

What to Know About IOT and Smart Toys This Holiday Season

Every year, consumers are cautioned to be extra careful when selecting toys on their holiday shopping list. There was a time when shoppers mostly worried about broken, damaged or otherwise physically unsafe toys. Perhaps there was even some concern about...

Get ALL Your SEO, WordPress & Divi News

Join Our Daily Roundup

SEO News and More

SEO News and More

Subscribe ToThe Weekly SEO Trade News Updates

Get the latest SEO, SEM and SMM marketing intel, tips and tricks from one of the best SEO Gurus online. 

Every Tuesday morning we send out an aggregated email listing all new posts on SEO Trade News.

Excellent! Now check your email to confirm your subscription.