Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 13
    This is the same answer of this heavily downvoted answer. It works fine, but only at for the body of the response. The status code will be 404 and it will hurt SEO. Commented May 14, 2017 at 10:58
  • Because this only work for the body if you have any scripts that you importing in the head they will not work when you directly hit any of the sub-routes on your website Commented Jan 11, 2019 at 10:53