Look up a Rails HTTP Status Code
301 - Moved Permanently
Rails HTTP Status code
:moved_permanently
When to use status code 301
This and all future requests should be directed to the given URI.
:moved_permanently
This and all future requests should be directed to the given URI.