Skip to content

Explicitly set trailingSlash: false [website]#864

Merged
dgeb merged 1 commit into
mainfrom
no-trailing-slash
Jul 16, 2021
Merged

Explicitly set trailingSlash: false [website]#864
dgeb merged 1 commit into
mainfrom
no-trailing-slash

Conversation

@dgeb

@dgeb dgeb commented Jul 16, 2021

Copy link
Copy Markdown
Member

When deploying to GitHub Pages, it is better to use an explicit "trailingSlash" site config.
Otherwise, GitHub Pages will add an extra trailing slash to your site urls only on direct-access (not when navigation) with a server redirect.
This behavior can have SEO impacts and create relative link issues.

When deploying to GitHub Pages, it is better to use an explicit "trailingSlash" site config.
Otherwise, GitHub Pages will add an extra trailing slash to your site urls only on direct-access (not when navigation) with a server redirect.
This behavior can have SEO impacts and create relative link issues.
@dgeb
dgeb merged commit 857efa8 into main Jul 16, 2021
@dgeb
dgeb deleted the no-trailing-slash branch July 16, 2021 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant