Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a rule which checks for URL segment and redirects to homepage. It works good but redirect is 302, not 301.
Is it possible to use somehow 301 redirect or that can be achieved only via .htaccess?
Required, but never shown