Good afternoon friends of creandolared
Does anyone know how to do redirects in htaccess to URLs with parameters?
I have a major mess doing a migration:
URLs like this http://miweb.com/producto.php?id=1 there are URLs that used to be like this miweb.com/producto.php?id=1
And although I have an htaccess like this
redirect 301 /producto.php?id=13&modelo=%203 https://miweb.com/producto/producto-guay-rojo/
It seems I have to do it another way, because it ends up redirecting to things like this:
miweb.com/?id=1
That is, it ignores and keeps what's behind ?http://miweb.com/producto.php?id=1