diff --git a/pandora_console/operation/visual_console/legacy_public_view.php b/pandora_console/operation/visual_console/legacy_public_view.php
index 797a12846f..4df0a6db28 100644
--- a/pandora_console/operation/visual_console/legacy_public_view.php
+++ b/pandora_console/operation/visual_console/legacy_public_view.php
@@ -43,6 +43,8 @@ enterprise_include('index.php');
$url_css = ui_get_full_url('include/styles/visual_maps.css', false, false, false);
echo '';
+html_print_input_hidden('homeurl', $config['homeurl']);
+
$url_css_modal = ui_get_full_url('include/styles/register.css', false, false, false);
echo '';
// Connection lost alert.