Closed (fixed)
Project:
Siteimprove.ai
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Oct 2020 at 12:56 UTC
Updated:
24 Nov 2020 at 15:39 UTC
Jump to comment: Most recent
When using a node with an URL alias as frontpage, is the module telling the overlay to use the full URL including URL alias as frontpage URL (e.g. http://www.example.com/my-fancy-frontpage). When Siteimprove is crawling the site are they crawling http://www.example.com and not the full path including the URL alias.
When outputting the URL check if the actual page / route is a frontpage. If yes, then output both the frontpage URL and the full URL including alias in the JavaScript object. Use \Drupal::service('path.matcher')->isFrontPage(); to check if the current URL is the frontpage.
Comments
Comment #3
bartvig commentedThis issue is fixed in version 8.x-1.6.
Comment #5
beltofteNeed backport to D7.
Comment #7
beltofte