Jump to content

301 Redirect: remove trailing slash


alizeeee

Recommended Posts

My website currently online is completely static and all the URLs work with and without trailing (https://www.website.com/page/ or https://www.website.com/page)

I'm working on my new website which is using Prestashop. On Prestashop, I need to choose if I want a trailing slash or not. For this new version I'd like URLs not having trailing slash: https://www.website.com/page

My problem: I have an excellent SEO on my current website and I need to keep both URLs (with and without trailing slash) available.

How can I redirect URLs with trailing slash to URLs without trailing slash (https://www.website.com/page/ ==> https://www.website.com/page) ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...