Is there an alternative to 301 redirects?
The best SEO practice for redirects is to use a 301 status code.
An alternative is to use JavaScript, however, unless there is a very specific use case, all redirects should be done server-side using the appropriate status code.