forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
939 stars 397 forks source link

perf(docs): remove trailing slashes from URLs in docs to improve SEO #5632

Closed jmrog closed 2 weeks ago

jmrog commented 3 weeks ago

What does this PR do?

Removes trailing slashes in URLs in various locations in the docs website, for the purposes of improving SEO (by avoiding unnecessary redirects and having cleaner canonical URLs). (Also partially fixes a "skip-content" link that was previously just sending users back to the main docs page.)

What issues does this PR fix or reference?

@W-15915734@

Functionality Before

Hundreds of links and some canonical URLs in the docs website (see this spreadsheet) end with trailing slashes.

Functionality After

Links and canonical URLs in the docs website no longer end with trailing slashes.

salesforce-cla[bot] commented 3 weeks ago

Thanks for the contribution! It looks like @jmrog is an internal user so signing the CLA is not required. However, we need to confirm this.