Hey all, I had an old website that was developped in php, and the new one is (obviously !) developped in rails. However, some of the clients still have old urls that are no longer valid and when they click on them, they get a 404 error. I have the list of urls that some of the clients still try to access and I would like to set a 301 redirection to the root page of my new website. Following the doc, (or following what understood from it) I tried something like this for one of the no longer valid urls. In routes.rb
get '/index.php?z=10', to: redirect('/')
However, it does not seem to be working. I have a list of almost 100 non valid urls that I would like to do 301 redirections for. Any help ? Thanks !!!