InMotion Hosting Support Center

My Redirect is Not Working on This Server

Category: How To

n/a Points
2014-07-30 11:20 am EST

Hits: 55
when i type in on my samsung reverb (android phone) i get

the code i use on my web site to redirect is
<script type="text/javascript">
if (screen.width <= 550) {
window.location = "";

i use this same code on other web sites i have on another server and they work fine on my phone
why is this one not coming up right

my main domain is and is a sub domain

You must login before you can ask a follow up question.

You must login before you can submit an answer.



11,186 Points
2014-07-30 11:34 am EST
I was actually unable to replicate the issue at all on my phone using both the default browser as well as the Chrome browser. My phone that I tested it with is an HTC One Max.

I also attempted to replicate the issue with an iPhone 5 in which I still could not see an issue at all.

You may have some sort of caching issue in your phone in which you may need to reset all browser data.

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!