• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Any way to disable mobile site for particular user?

ccto

Basic Pleskian
Hello,

Is it possible to disable mobile site for particular website?

We are using Web Presence Builder 11.5.10
One customer asked to disable mobile site feature, they would like full version to be displayed even for mobile and tablet devices.

is it possible?

Thank you very much for your kind attention.
 
Hi,

There is no official possibility to do this but you can use your custom script to correct such behavior.
For example you could try something like this:
Code:
<script type="text/javascript">
if (!getCookie('deviceView') && isMobileView()) {
    setCookie('deviceView', 'desktop', 365, true);
    location.reload();
}
</script>
Put such script into "Script" module at sitewide area. Enjoy. :)

Please note that this solution is nonofficial. Parallels is not responsible for any unexpected behavior. Use it on your own risk.
I've checked it at the latest WPB 11.5.12 (with Opera Mobile) and can't guarantee that it will work properly at any other versions.
 
Last edited:
If you go into settings in the menu. Then onto the advanced section. You then should see a tick box for "Optimize website to view on mobile devices." Untick and publish.
 
Back
Top