Article ID: 125307, created on Apr 29, 2015, last review on Apr 18, 2016

  • Applies to:
  • Web Presence Builder 11.5
  • Web Presence Builder 12.0
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 12.0 for Windows


Optimize the website for viewing on mobile devices option is disabled for the website. But when opening the website on mobile device it is displayed in mobile view. How to disable mobile optimization for website?


This is a software issue #PPB-4417 , the fix will be included in one of the next Web Presence Builder updates.

The following workaround can be used for Web Presence Builder 12.5 on Linux:

  1. Back up original files:

    # cp /usr/local/sb/htdocs/templates/generic/html.twig /usr/local/sb/htdocs/templates/generic/html.twig_orig
    # cp /usr/local/sb/htdocs/templates/generic/js/helpers.js /usr/local/sb/htdocs/templates/generic/js/helpers.js_orig
    # cp /usr/local/sb/htdocs/templates/generic/js/view.js /usr/local/sb/htdocs/templates/generic/js/view.js_orig
    # cp /usr/local/sb/include/SB/Site/Compiler/Page.php /usr/local/sb/include/SB/Site/Compiler/Page.php_orig
  2. Go to working directory:

    # cd /usr/local/sb/
  3. Download custom fix:

    For Plesk 12.5:

    # wget

    For Plesk 12.0:

    # wget
  4. Extract files:

    # unzip
    replace htdocs/templates/generic/html.twig? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
      inflating: htdocs/templates/generic/html.twig
      inflating: htdocs/templates/generic/js/helpers.js
      inflating: htdocs/templates/generic/js/view.js
      inflating: include/SB/Site/Compiler/Page.php
  5. Republish the website.

Search Words


mobile devices

mobile view


Mobile sites

Optimize the website for viewing on mobile devices

9305481d3bd31663b68451e3bfdec5a5 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c ed7be2b984f9c27de1d2dc349dc19c6d 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8 1c99f07514acb28df1f1cbc138d5c135 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e 18f5eb2d7a7972323627b40f015d5a19

Email subscription for changes to this article
Save as PDF