Hi,

My environment is Drupal 8.3.7. I encounter a problem that all dynamic pages always render the same template if the user doesn't log in. If the user has logged in, every dynamic page works well. Below is my structure.

/theme/my_theme/templates/abc/path1/page--abc--path1.html.twig
/theme/my_theme/templates/abc/path2/page--abc--path2.html.twig
/theme/my_theme/templates/abc/path3/page--abc--path3.html.twig

When I access the following links, I always got "http://drupalsite/abc/path1?id=1".
http://drupalsite/abc/path1?id=1
http://drupalsite/abc/path2?tag=abc
http://drupalsite/abc/path3?q=def

Not sure the problem was started from Drupal 8.3.6 or not. Please help! Thank you.