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?

  • Can the Redirect module do this? Alternatively, create a new rule action. – Kevin Apr 16 '19 at 21:47
  • Well yeah Redirect module can, but only one by one URL. I have about thousand 404 url's left and need them all redirected. They all have some segment so it should be easy. But it needs to be 301 redirect. I thought rules would be good for this. Do not know how to write custom rule. – Lub Apr 16 '19 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.