How to set up 301 redirects for canonical domain and trailing slash? #73171
Unanswered
VazgenZadayan
asked this question in
Help
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
For redirect to Try to take a look there, probably you can find the solution. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hello everyone,
I need help configuring 301 redirects for my website my.company. Here's what I'm trying to achieve:
Redirect all the following variations to https://my.company:
www.my.company
http://my.company
http://www.my.company
https://www.my.company
Ensure that if a URL is missing a trailing slash (/), it should redirect to the same URL with the trailing slash.
For example:
https://my.company/page → https://my.company/page/
I'm looking for the best way to implement this.
Thank you!
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions