If the German ‘Versand’ shortcut opens a Polish delivery page, check the header link address, any redirects and the language of the landing page. Read the value of the Link field separately in the German store view.
Check the address and configuration scope
Under Stores → Configuration → Kowal → Custom Header Links, choose the store view and inspect the Link field. In version 1.0.27, Custom Header Links reads the list for that view and outputs the saved address in href. A full URL keeps its stated domain. A leading slash starts at the root of the current domain. Without the slash, the path depends on the document’s base address. If the field inherits the list, check the value at the parent level too. Module documentation.
Follow the shortcut to its final page in both views
In the local test with the original block, links with different labels shared the same first path. The test server redirected both clicks to the Polish page. With the DE address changed, the German page opened with HTTP 200. The repeat check in PL confirmed the original result.
| Run and view | Address in the header | HTTP statuses | Final path | Language |
|---|---|---|---|---|
| Before, PL | /dostawa | 301 → 200 | /pl/dostawa | PL |
| Before, DE | /dostawa | 301 → 200 | /pl/dostawa | PL |
| After, DE | /de/versand | 200 | /de/versand | DE |
Check addresses after a domain or store code change
Compare the domain and store code with the actual address of the destination page. If a separate URL is needed in one view, edit the list there and retain its other rows. Refresh the configuration and page caches after the change. Magento store URL settings.
Open the views in a fresh session. Enable Preserve log in the Network tab, click the shortcut and record each status, the final host, the path and the language. For an address relative to the document, check it from a product page too. Chrome networking tools.
The earlier header guide covers ordering, icons and placement.
