In one Magento 2.2.6
instance something very odd occurs: the meta page title shows
<title>Customer Login</title>
and the page title in the content also shows Customer Login
- even though the route has nothing to to with the customer login!
The module in question is omikron/magento2-factfinder and the route in question is factfinder/result/index. Currently the extension does not set its own page title (I've already created a PR for that), but even when you add
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<title>Search Results</title>
…
</head>
<body>
…
</body>
</page>
the page still shows <title>Customer Login</title>
in the meta tags - however the page title in the <body>
will indeed show Search Results
.
In a second Magento 2.2.6 instance this problem does not occur.
How can this be? What could be the reason why the page title is overridden in such a manner for a particular route?