Canonical URL remains when navigating between pages
Open
type/bug
- Dominant language
- PHP
- Stars
- 6.7k
- Forks
- 883
- Avg merge
- 15h 16m
- Merged PRs (30d)
- 73
Description
### Current Behavior
When navigating through the SPA, the canonical found in the page `` remains.
E.g., if you visit the forum home page, then navigate to a discussion, the canonical is still the home page URL.
### Steps to Reproduce
Self-explanatory
### Expected Behavior
Canonical should be updated with a new URL
### Screenshots
_No response_
### Environment
- Flarum version: 1.5.0
- Website URL: [local]
- PHP version: 8.1.x
### Output of `php flarum info`
_No response_
### Possible Solution
_No response_
### Additional Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.