WordPress.com redirects show 404 error on mobile
-
I recently migrated my WordPress.com blog to my self-hosted site and paid for everything to be redirected (by WordPress). I ensured the permalinks followed the same structure on both sites and the redirects are working on desktop. However, they are not working on mobile devices and show a 404 error.
I’ve contacted Support, but I’m yet to receive a response. Can anyone tell me why this is happening and what the solution is?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
All links on your WordPress.com site are redirecting correctly to the self-hosted site for me.
Can you please post a couple of links that are not redirecting? If these are links on social media sites like Facebook or Twitter, please also give a few links to the actual posts on Facebook or the actual tweets.
-
Hello,
Thanks for getting back to me.
I managed to speak to someone via the WordPress Twitter and have made a bit of progress.
It looks like the issue is Twitter links. For instance, if you click the link in this post, it returns a 404 error: https://twitter.com/donnakean_x/status/900731331755343872
However, if you open the link in Safari or Chrome, it works just fine. Do you know if Twitter applies its own redirects?
Thanks so much,
Donna -
Okay, that’s handy information.
Twitter does apply its own redirect, specifically to the AMP version of a page if there’s one available. AMP is a specification Google introduced about a year ago that creates a copy of your page that’s optimised specifically for mobile devices. If you search for a site on Google on your phone, for example, the AMP version of the page will load if one’s available.
Twitter recently started redirecting to the AMP version for sites that have it available, and all WordPress.com sites have that active by default. The Site Redirect upgrade can’t redirect the AMP link to a non-AMP link, and I’m going to guess you don’t have AMP on your self-hosted site – you’d need to install a special plugin to enable that on self-hosted WordPress.
The good news is this should only affect links to your site that was tweeted in the past two months or so since Twitter started doing this. Links further back, and links shared on other services, should be unaffected.
-
Amazing, thank you so much. I’ve installed an AMP plug-in and everything seems to be working now! So glad it’s been resolved.
-
- The topic ‘WordPress.com redirects show 404 error on mobile’ is closed to new replies.