0

Is it possible to redirect url http://example.com/ to http://example.com without trailing slash ? My SEO specialist said to hide 'http://example.com/' from google index. And I am confused about it.

4
  • Read this post on Server Fault. Commented Dec 8, 2020 at 12:56
  • However, In the Google Search Console, Google itself adds trailing slashes to all registered domains. Commented Dec 8, 2020 at 12:57
  • They are the same. Some browsers hide a solitary / following the domain name in the address bar, but the URI received by the server will always contain at least one character, which begins with /. Commented Dec 8, 2020 at 13:19
  • Does this answer your question? Nginx redirect without trailing slash Commented Nov 13, 2021 at 10:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.