When someone visits a mobilized page they get a message that the page does not exist

  • 0
  • 1
  • Problem
  • Updated 5 years ago
  • Acknowledged
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: We have archived this topic as it has either reached a resolution or has become inactive.  If you believe this topic should not have been archived, please let us know, and we would be happy to review it.  You may continue to access this topic as needed fo

My website has been mobilized using duda mobile. When people enter the main url for the site using mobile phones they get to the mobile site without a problem. However when I send a link to a specific page of the web site that has also been mobilized then they get a message on their cell phone that that page does not exist. This happens very regularly. The last person was using an iPhone 6.

Can someone tell me how to fix this problem?
Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb

Posted 5 years ago

  • 0
  • 1
Photo of Drew N

Drew N, Alum

  • 262,816 Points 100k badge 2x thumb
Is it always the same page(s)? If so, which one(s)
Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb
Drew,

I sent them the following link: http://www.petassistpetsitting.com/Employment-application.html

Thanks,

Photo of Drew N

Drew N, Alum

  • 262,816 Points 100k badge 2x thumb
Does it work if it link from the homepage? If you are giving a direct link to the page, you will need to put the mobile redirect code in the header of that page so it identifies the mobile browser and redirects to that page.
Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb
I haven't ever sent a link to the home page. Not sure how to do this: "you will need to put the mobile redirect code in the header of that page so it identifies the mobile browser and redirects to that page". 
Photo of Drew N

Drew N, Alum

  • 262,816 Points 100k badge 2x thumb
You will need to get the redirect code from Dudamobile and then we can help you place it. Under page settings > Advanced, there is a head section. That is where it goes.
Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb
Is there a different redirect code for each page?

Thank you
Photo of Drew N

Drew N, Alum

  • 262,816 Points 100k badge 2x thumb
If you are sending links to pages then you will want to specify the page name in the redirect.
Photo of William1899

William1899

  • 1,644 Points 1k badge 2x thumb

I have more than 50 pages, people enter my site only 20% of the time through my index page...are you saying that they will get a no page found on all the other pages unless duda code is found on each of these pages ?

Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb

Hi Drew,

The following is the code I found at duda mobile. I'm not sure how to specify the page name in the redirect. Also we already have some other code posted in the head tag relating to Google Site Verification and robots...so where would this code go in relation to the code that is already there? Thank you, Andrew

1
<script src="http://static.dudamobile.com/DM_redirect.js"; type="text/javascript"></script>
2
<script type="text/javascript">
3
   DM_redirect("
http://m.petassistpetsitting.com");
4
</script>

Photo of Drew N

Drew N, Alum

  • 262,816 Points 100k badge 2x thumb
You would not use the numbers 1-4. This code will redirect to your homepage. To link them to a different page, the last line, DM_redirect("http://m.petassistpetsitting.com"); would change to DM_redirect("http://m.petassistpetsitting.com/page...");
Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb

Drew, Would I put this before anything else that in the head tag...or last?

Thanks

Photo of Drew N

Drew N, Alum

  • 262,816 Points 100k badge 2x thumb
Put it at the very top so it is the first thing the browser sees.
Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb

Drew,

I added the code to the header of each page with the corresponding mobile page url added to the code. However it only seems to be working for the home page...and then only for the iphone but not for Android. Can you tell me what's wrong? Thanks

Photo of Andrew2399

Andrew2399

  • 542 Points 500 badge 2x thumb

After going back and forth with Duda Mobile and being so far unable to get the mobile redirect to work...this is what they are now saying:

  • Hey there. it is the problem with the redirect.

    There are 3 ways to redirect a desktop website to a mobile website:
    1. Using JavaScript (like you did, when added the script) - also called client side redirect
    2. Homestead automatic (It didn't work, and I disabled it for now - we can re enable when we will find out the problem)
    3. Using Server side redirect - Editing in the server itself (also called 301 redirect)

    What happens is that your website has a server side redirect - It redirects tom.petassistpetsitting.com/page before even the html page loads. The thing is that this redirection is broken. It doesn't redirect correctly.

    Did you maybe have someone set it up for you? If not you might need to check it with homestead (unfortunately It is not connected to us and I can't access your server)

    Let me know. Good luck!

  • Yoha

Can someone at Homestead help us out with this?

Andrew

Photo of William S

William S

  • 18,878 Points 10k badge 2x thumb
Sure,  I can help you out with this. What page is not redirecting? Your home page is working for me when I go to it on a mobile phone.

This conversation is no longer open for comments or replies.