-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent append of trailing slash in cases where path ends with a file…
… extension Canonical URLs specified in the metadata object are being resolved incorrectly when the trailing slash config is set to true. In cases where the path ends with something like `.html` it will append the slash resulting in `.html/` which causes issues for SEO. This will validate that if the path has an extension, no slash will be appended.
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters