Trailing slash question

hey @boris.verk How were you able to solve this issue? I used the same redirect page rule but it crashes with an infinite redirect loop. Im not able to remove the trailing slash.

here’s the URL: genprose

The page loads fine if i remove the rule but with a trailing slash, I’m stuck on this the whole day.

https://genprose.com/blogs/convert-audio-to-content-with-genprose this is the URL

This is basically what i want the url to look like and redirect for SEO:

genprose.com/blogs/slug/ -> genprose.com/blogs/slug

Have you looked at the Serving Pages documentation @kvnrivers?

Under Route Matching it states

If an HTML file is found with a matching path to the current route requested, Pages will serve it. Pages will also redirect HTML pages to their extension-less counterparts: for instance, /contact.html will be redirected to /contact, and /about/index.html will be redirected to /about/.

If you want a / at the end of a URL structure the files/directories as /about/index.html, /contact/index.html, /blogs/slug/index.html etc.
If you do not want a / at the end of a URL structure the files/directories as /about.html, /contact.html, /blogs/slug.html etc.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.