Index: branches/5.3.x/core/kernel/utility/http_query.php =================================================================== diff -u -N -r16171 -r16395 --- branches/5.3.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 16171) +++ branches/5.3.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 16395) @@ -1,6 +1,6 @@ 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); + } + if ( !$this->Application->isAdmin && $this->Application->ConfigValue('ForceCanonicalUrls') ) { $template = $this->Application->GetVar('t'); $seo_template = $this->Application->getSeoTemplate($template);