I have finished a website and I am creating the necessary 301 redirects in the file .htaccess
.
I have one of the old web sitemaps that has 100+ requests of the type:
?menu=nombre-del-plato
On the new website there are no similar requests and all should be redirected to, say, http://mirestaurante.com/menu
Is there a way to avoid these 100+ equal lines in .httacces
?:
Instead of:
Redirect 301 /?menu=nombre-del-plato1 http://mirestaurante.com/menu
Redirect 301 /?menu=nombre-del-plato2 http://mirestaurante.com/menu
Redirect 301 /?menu=nombre-del-plato3 http://mirestaurante.com/menu
Redirect 301 /?menu=nombre-del-plato4 http://mirestaurante.com/menu
Make a line or function similar to:
Redirect 301 ?menu* http://mirestaurante.com/menu
EDIT: These requests are in two languages
Redirect 301 /?menu=nombre-del-plato3 http://mirestaurante.com/menu
Redirect 301 /ca/?menu=nombre-del-plato3 http://mirestaurante.com/ca/menu