Redirect your iPhones to Phone Feedr

Once you set up your Phone Feedr, you might want to consider redirecting iPhone visitors to your Phone Feedr. Here is a script that will detect iPhone visitors and redirect them to your feedr:

<script language=javascript>
<!– if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
{ location.href=’http://yourfeedr.phonefeedr.com’; } –>
</script>

 

Replace the “http://yourfeedr.phonefeedr.com” with the address of your feedr and insert the code above the of your website’s homepage. Be careful which pages you put this code on. It makes sense to redirect people from your homepage, but not from the other pages of your site. Since a feedr is supposed to send traffic to your site, you don’t want to create a loop between your site and your feedr. For example, if you click on a link in your feedr that sends visitors to a page where you have the redirect to the feedr then they are going to be going in circles. So play it safe and just redirect people from your homepage.

Thanks to ebaspace.com for the handy redirect script!

Leave a Reply