Skip to content

Commit

Permalink
fix for routes on the front side, made for Dekra
Browse files Browse the repository at this point in the history
(cherry picked from commit 8a6bc09)
  • Loading branch information
simonalcover committed Dec 27, 2019
1 parent 89287fc commit bf07fb3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ function(MvcEvent $e){
$routingResult['301_type'] = 'seoURL';

// No SEO, then try regular Page Url
if ($routingResult['301'] == null)
if ($routingResult['301'] == null &&
(empty($routingResult['norewrite']) || !$routingResult['norewrite']))
{
$routingResult['301'] = $this->redirectPageMelisURL($e, $idpage);
if ($routingResult['301'] != null)
Expand Down

0 comments on commit bf07fb3

Please sign in to comment.