Index: branches/5.2.x/core/kernel/utility/http_query.php =================================================================== diff -u -N -r16027 -r16267 --- branches/5.2.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 16027) +++ branches/5.2.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 16267) @@ -1,6 +1,6 @@ Application->VerifyThemeId(); $this->Application->VerifyLanguageId(); } + + $virtual_template = $this->Application->getVirtualPageTemplate($this->Get('m_cat_id')); + + if ( ($virtual_template !== false) && preg_match('/external:(.*)/', $virtual_template) ) { + trigger_error('URL of page, that has "External URL" set was accessed: "' . $_SERVER['REQUEST_URI'] . '"', E_USER_NOTICE); + $this->Application->Redirect($virtual_template); + } } /**