• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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