hope ya’ll doing good.
i recently build a mobile page via duda editor and redirected phone users via code from the main page to the mobile page.
i’ve done everything the way it supposed to be but the redirect is not working anymore. my last ‘hope’ is that the problem is within the theme and you might know a way out.
this is the code i use in header.php:
<script src=”http://static.dudamobile.com/DM_redirect.js” type=”text/javascript”></script>
<script type=”text/javascript”>DM_redirect(“http://mobile.superbike-coach.com/”);</script>
Hi superbikecoach,
I’m sure I understand exactly what the problem is, could you try to explain a bit further why you have made this customisation and link to the site in question please?
Best regards,
Rikard
:) not sure if I understand you Rikard :)
OK, there is my enfold wordpress page, but it is not really mobile friendly and many smartphone user bouncing off/away.
therefore i made a separate mobile page, and i want to redirect smartphone users to that separate page. That isn’t working, and there is the chance that the enfold theme could cause the issue, and i was hoping you might know hoe to fix it.
Hi,
The theme as such has nothing to do with redirecting, is there any specific reason as to why you would assume that this is theme related? Please try to explain exactly what is wrong and where you got the code you are using to begin with.
Thanks,
Rikard
we were at the end of our knowledge. but i was only hoping you could point the right way.
meanwhile we got it fixed though.
we’ve changed to https and that wasn’t well done. it also causes those redirect issues.
thx for reaching out