You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.
When WordPress is installed on a subdirectory, the link to the site's stats in the "stats are booming" notification doesn't work.
Steps to reproduce
SITE_BASE_URL
is the site URL without the subdirectory.::
between the base URL and the subdirectory). Notice the correct stats view now loads.What I expected
I expected the notification to contain a link to the site's stats with the specified date highlighted.
What happened instead
The link doesn't contain the full site URL (including the subdirectory) so it redirects to the All Sites stats view instead.
Browser / OS version
Chrome 83.0.4103.116 / macOS 10.15.5
Screenshot / Video
Example site URL: https://magenta-cod.jurassic.ninja/subdir/
Correct stats link: https://wordpress.com/stats/day/magenta-cod.jurassic.ninja::subdir?startDate=2020-07-06
Link as formatted in the notification: https://wordpress.com/stats/day/magenta-cod.jurassic.ninja?startDate=2020-07-06
Context / Source
Reported by @sararosso in Slack (internal ref: p1594072063135700-slack-automattic) and reproduced on a test site.
The text was updated successfully, but these errors were encountered: