• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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