Mobile Redirect Script Question

Quick Question:

I have a mobile redirect script Im using from our mobile software company that allows pages to be redirected on a per page basis. The script looks like this:

<script type="text/javascript">
     gMobileRedirectorTargetDefault = null;

     gMobileRedirectorExceptions = {
     '/blog': null,
     '/home': 'http://m.hollyholm.com/',
     '/biography': 'http://m.hollyholm.com/biography/',
     '/mma-record': 'http://m.hollyholm.com/mma-record/',
     '/photo-gallery': 'http://m.hollyholm.com/photo-gallery/',
     '/awards': 'http://m.hollyholm.com/awards/',
     '/social': 'http://m.hollyholm.com/social-media/',
     '/get-in-touch': 'http://m.hollyholm.com/contact-us/',
     '/shop/': null,
     '/checkout/': null,
     '/shop/': null,
     '/thank-you/': null
     };
 </script> 
 <script type="text/javascript" src="http://juxtapoze.mobilebuilder.net/content/js/js-redirector.1.0.0.js"></script>

My question is this:

When this gMobileRedirectorTargetDefault = null; is set to null it will not forward any mobile redirects that are not called out in the exceptions. My problem Im running into is when the target default is set to null it will not redirect the home page regardless if i put /home or index.php.

What am i missing to do this so that the home page is redirected when the targetdefault is set to null?

What happened to my code I posted in the thread?

script type="text/javascript"
     gMobileRedirectorTargetDefault = null;

     gMobileRedirectorExceptions = {
     '/blog': null,
     '/home': 'http://m.hollyholm.com/',
     '/biography': 'http://m.hollyholm.com/biography/',
     '/mma-record': 'http://m.hollyholm.com/mma-record/',
     '/photo-gallery': 'http://m.hollyholm.com/photo-gallery/',
     '/awards': 'http://m.hollyholm.com/awards/',
     '/social': 'http://m.hollyholm.com/social-media/',
     '/get-in-touch': 'http://m.hollyholm.com/contact-us/',
     '/shop/': null,
     '/checkout/': null,
     '/shop/': null,
     '/thank-you/': null
     };
script 
script type="text/javascript" src="http://juxtapoze.mobilebuilder.net/content/js/js-redirector.1.0.0.js"

Hi, that script seems to require gMobileRedirectorTargetDefault to do anything.

What is the question?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.