Closed jamesgrobertson closed 2 years ago
It seems to only happen if the subpath setting string is the first word in the alias, i.e. it happens when the url is www.example.com/subpath/subpath-first
versus www.example.com/subpath/second-subpath
.
No longer needed as per closing comment in #25
Thanks for the report and PR.
On the Pantheon platform, if the string that is in the
subpath
setting also exists in the URL alias, then the subpath is excluded from all other Drupal-generated URLs.For example, if the setting is set to
subpath
, then onwww.example.com/subpath/subpath-in-alias
, any other link that Drupal generates on the page follows the patternwww.example.com/no-subpath-in-alias
(instead ofwww.example.com/subpath/no-subpath-in-alias
).Also, if a user is logged in on that path, then they do not see any part of the page that authenticated users can see like the toolbar, primary tabs, etc.