How to write 301 redirections to the category page

Category URL key is "ballasts"

request path : ballasts.html

target path : catalog/category/view/id/10

When the user hit this URL directly in the browser, it should redirect to

Can anyone guide me for this 301 redirection

enter image description here

  • Do you want to add it from admin Or using SQL query ? and redirect should be `` Right ? – Pawan Jul 16 at 14:13
  • via Admin and yes the redirected url is correct – Jaisa Jul 16 at 14:22
  • what happens when you hit ? is it working ? – Pawan Jul 16 at 14:31
  • Please see the updated url above – Jaisa Jul 16 at 14:38
  • I need to redirect it to – Jaisa Jul 16 at 14:39

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.