How to adding redirection code to desktop sites ?

GoDaddy Website Tonight sites

   1. Log in to the WebSite Tonight account [using the customer’s login credentials].

   2. From the Design menu, select Launch Page Designer.

   3. From the Page tab, go to the Properties menu, and then select Page.

   4. Select the JavaScript tab

   5. Add the code below to the box titled JavaScript for <head>. If there is already code in the box do not delete it, simply add the code beneath it

          <script type=\"text/javascript\"

          src=\"http://detect.deviceatlas.com/redirect.js?m=http://thegomobisite.mobi\">

          </script>

          (NOTE: replace the \"http://thegomobisite.mobi\" with the URL of the customer\'s actual goMobi site)

 

A few things to keep in mind:

   1. You need to use Internet Explorer or another browser to do this (when we tried with Firefox, it was giving me a message saying the JavaScript was invalid)

   2. The script is inserted on a per-page basis, not globally in the template. What this means is that if you want the subpages to also redirect to the mobile site, you need to repeat the operation for each page of the site. Considering sub-pages might appear separately on search result, it would probably be a good idea to add the code to all the pages. In order to be as user-friendly as possible, rather than using the main URL as destination on all pages, you can customize it to deeplink to a specific page on a goMobi site, so that e.g. the Contact us page redirects users to the corresponding Find Us page on the goMobi site. This is easily achieved by replacing the \"http://thegomobisite.mobi\" with a link like \"http://thegomobisite.mobi/app/find-us/93597/2/\".

Intuit’s site builder sites

 The redirection code needs to be added to each page individually, very similarly to what happens with the GoDaddy site builder:

  1. Access the Site builder and select the page to manage from the \"edit page\" menu

  2. Go to \"Manage Page > Advanced Settings\"

  3. paste the JavaScript code below in the \"<head> tag HTML :\" box

  4. Save and Publish the changes

        <script type=\"text/javascript\"

         src=\"http://detect.deviceatlas.com/redirect.js?m=http://thegomobisite.mobi\">

         </script>

         (NOTE: replace the \"http://thegomobisite.mobi\" with the URL of the customer\'s actual goMobi site)

The script is inserted on a per-page basis, not globally in the template. What this means is that if you want the subpages to also redirect to the mobile site, you need to repeat the operation for each page of the site. Considering sub-pages might appear separately on search result, it would probably be a good idea to add the code to all the pages. In order to be as user-friendly as possible, rather than using the main URL as destination on all pages, you can customize it to deeplink to a specific page on a goMobi site, so that e.g. the Contact us page redirects users to the corresponding Find Us page on the goMobi site. This is easily achieved by replacing the \"http://thegomobisite.mobi\" with a link like \"http://thegomobisite.mobi/app/find-us/93597/2/\".

1&1 site builder sites

  1. Login to your account

  2. Go to \"Settings > Edit header section\"

  3. paste the JavaScript code below in the \"<head> tag HTML :\" box

  4. Save and Publish the changes

         <script type=\"text/javascript\"

         src=\"http://detect.deviceatlas.com/redirect.js?m=http://thegomobisite.mobi\">

         </script>

         (NOTE: replace the \"http://thegomobisite.mobi\" with the URL of the customer\'s actual goMobi site)

The script is inserted on a per-page basis, not globally in the template. What this means is that if you want the subpages to also redirect to the mobile site, you need to repeat the operation for each page of the site. Considering sub-pages might appear separately on search result, it would probably be a good idea to add the code to all the pages. In order to be as user-friendly as possible, rather than using the main URL as destination on all pages, you can customize it to deeplink to a specific page on a goMobi site, so that e.g. the Contact us page redirects users to the corresponding Find Us page on the goMobi site. This is easily achieved by replacing the \"http://thegomobisite.mobi\" with a link like \"http://thegomobisite.mobi/app/find-us/93597/2/\".

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

My domain is registered via another registrar. Can I transfer it to you?

In most of the cases answer is yes you can easily transfer your domain to us. While it\'s not...

Can I change my domain name?

Yes, the domain name associated with your account can be changes any time. You just need to...

How can I visit my site before propagation?

You can use your domain\'s server IP address, plus your username like this:...

I have registered domain name(s) with your company, how will I know when to renew?

We register domain names on your behalf. You are responsible for monitoring and renewing your...

How can I get my DNS settings changed (MX record, A record, C NAME)?

To change your DNS settings as far as your MX record, A record, C NAME, you will need to submit a...