Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/templates/gk_hotel/lib/framework/lessparser.php on line 634

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/templates/gk_hotel/lib/framework/lessparser.php on line 1525

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/templates/gk_hotel/lib/framework/lessparser.php on line 2101

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/templates/gk_hotel/lib/framework/lessparser.php on line 2146

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/libraries/vendor/leafo/lessphp/lessc.inc.php on line 749

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/libraries/vendor/leafo/lessphp/lessc.inc.php on line 1860

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/libraries/vendor/leafo/lessphp/lessc.inc.php on line 2519

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/stregiss/dev.stregis-stl.com/libraries/vendor/leafo/lessphp/lessc.inc.php on line 2573
Customize error page

Customize error page

The Hotel template uses a specific form of the error page - it is displayed like a part of the website, not a separate page - according to the Google SEO recommendations:

The content of this error page can be edited in the layouts/blocks/error_page.php file.

When the error 404 is generated the error.php file is called and it redirects to a custom error page. That's why the custom error page needs a non-existing menu item id - default it is 99999, but you can change it under the template advanced settings:

The custom error page won't display the error details - only the error code and a short note. If you want to get more details about your error, please temporary rename file error.php inside the template directory to i.e. __error.php. Then the standard error page with full informations will be displayed.

Last modification: Thu 26 Sep 2019
×

Log in

×

Sign up to keep in touch!

Be the first to hear about special offers and exclusive deals from Villa Belluci and our partners.

Check out our Privacy Policy & Terms of use
You can unsubscribe from email list at any time