Problems with mobile theme

Posted in: Newspaper
Post count: 8

Hello.
We use the Newspaper 12 theme and use the mobile-theme feature.
When searching on google and entering the website (ekonomifokus.se) from there the mobile version is shown even when using a desktop.

We have tried everything, we removed all cache-systems but the problem is still there.

Also, the problem is only there when entering the website via google, not when visting the website directly.

Post count: 10

I might have the same problem as you. It is just page templates that are affected but things are fine on an older project I implemented over a year ago. It does appear there is a conflict with page templates loading a mobile template. This is using Google Chrome.

A link to my thread where pages are not loading elements

  • This reply was modified 2 years by Adrie.
Post count: 27744

Hi @hojjo,

Usually, this happens with cache plugins. If the cache plugin does not have mobile support then the mobile theme version can be delivered instead.
The solution would be to use the recommended WP Super Cache plugin instead and activate these settings (especially the mobile device support): https://forum.tagdiv.com/cache-plugin-install-and-configure/ or you can use WP Rocket.
Also, please let me know what plugin you use for the cache now.


@Adrie
Please post only in your created topic, because there are different issues

Thank you!

Post count: 8

Hello Anamaria.
Thankt for your response.

The problem is still there even when we deactivate all cache-services.
So, without any cache at all the problems are still there.

Post count: 27744

Hi,

You need a cache plugin because the browser will not know what version to display without it.

Thank you!

Post count: 8

Okay, thanks.
We use WP-rocket. Do you have any guide for what settings we need to use?

Post count: 27744

Hi,

Please check this guide to enabled the mobile cache https://docs.wp-rocket.me/article/140-wrong-display-mobile-tablet-desktop

Thank you!

Post count: 8

Now we have tried it all but the problem is the same.
We also tried using WP super cache instead of WP Rocket but the problem is the same.

The problem is only there when visting the website from google, not when accesing the website directly with the url.

Post count: 27744

Hi,

I checked and works well https://we.tl/t-qvNg7ZLsWH

Thank you!

Post count: 8

No it does not.

1. Go to google.com.
2. Search for “mäklararvode” or “Sälja tomt”.
3.Klick on the search result for the website (Ekonomifokus.se).

Post count: 27744

Hi,

Please Ask Google to recrawl your URLs, I think that the google indexed the mobile version

Thank you!

Post count: 8

Sure, we can try that but is that even possible? The URL is the same on mobile and on desktop.

Post count: 8

I found a guy that wrote about this exact problem:
https://www.managedserver.eu/optimize-wordpress-sites-created-with-the-newspaper-theme/

See under headline:
The TagDiv Mobile problem and server-side caches like Varnish

Post count: 27744

Hi,

So, the issue is, as I said, the cache. Do you have a Varnish cache?

Thank you!

Post count: 8

We use the following cache:

On server:
Varnish and Redis

CDN:
Cloudflare

On website:
WP-rocket

Post count: 27744

Hi,

It is not recommended to use more cache options. Can you please ask your host if he can help you with this issue? Also, you can check this topic https://stackoverflow.com/questions/74518534/varnish-how-to-cache-for-mobile-and-desktop-site

Thank you!

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.