platformOS Community

Is there a way to add trailing slash to all urls

Patrick - Combinate Apr 01 2021 at 01:59

Both of these are acceptable in pOS

example.com/page
example.com/page/

Is there a way to force / redirect either way?

Our SEO team wants us to always have a trailing slash

Patrick - Combinate Apr 07 2021 at 09:26

It matches the existing URL structure.

if we omit it, all legacy pages that have an exact match to a new page will need to 301 redirect from the slash version to the no-slash version

trying to we

Please sign in or fill up your profile to answer a question