I have a problem. I tried to use an .htaccess in the root folder to redirect like this:
- localhost/planificacion_talleres/ redirect to localhost/planificacion_talleres/frontend/web/index.php?r=planificacion if User is logged
- localhost/planificacion_talleres/ redirect to localhost/planificacion_talleres/frontend/web/index.php?r=site If User is guest.
But I don't know how to redirect using the same .htaccess to other pages using a condition. I need help, please