How to re-direct mobile traffic to


How to I redirect mobile traffic to instead of ?

Please post some insights into this.

Possibly with Page Rules:

Otherwise you can do this within your webserver config, if you have access to it.


Thanks for taking the time to input your thoughts.

How do I make use of this option under SPEED settings to redirect mobile traffic to automatically.

If I am able to do it here , it will be very easy, have your tired this option before ?

I have no access to the hosting webserver.

I’ve not tried this approach, but adding a Page Rule after setting the above Mobile Redirect may work:

  1. Set up that dummy subdomain of Create an A record that points to your IP address (no, it won’t actually use this A record because of the Page Rule below)
  2. Enable the Mobile Redirect feature
  3. As @MarkMeyer suggested, create a page rule that matches ** (the wildcards will match everything) that redirects to (or$2 if your mobile paths match your desktop paths).


Thanks for the input.

I think we are very close to the solution.

The redirection is now working correctly to the

Expect it is throwing error:

“redirected yoo too many times”


any comments ?

Shoot. Not close. I just realized that it redirects to a subdirectory in the non-mobile site, which makes that Mobile Redirect kick in again.

On another site, I had to manually redirect by adding this to the main page HTML head section:

<script type="text/javascript">
if (screen.width <= 800) {
document.location = "";

NO JOB TOO BIG :slight_smile:

Thank you, this is the simplest solution.



This topic was automatically closed after 14 days. New replies are no longer allowed.