Pages redirect to trailing slash

· team pico

301 redirect to trailing slash

Greetings!

This feels like a significant enough change to submit a post about it.

We will be deploying a change today to the default routing behavior for pgs.sh.

Previous behavior:

New behavior:

As illustrated, we will be performing a 301 permanent redirect when a directory is discovered without a trailing slash. This is very common for file servers and other popular static site hosting platforms.

Currently, there is no way to disable "pretty urls" in pages, but if users request it we will provide a way to disable them on a per-site basis.

Hopefully no one will be impacted by this change, but you might want to prevent the permanent redirects in your static sites by always providing a trailing slash to directories.


Join our irc #pico.sh on libera or email us at hello@pico.sh.

Be sure to subscribe to our rss feed to get the latest updates at team pico.