ฉันมีปัญหา. ฉันพยายามใช้ .htaccess ในโฟลเดอร์รูทเพื่อเปลี่ยนเส้นทางดังนี้:
- localhost/planificacion_talleres/ เปลี่ยนเส้นทางไปยัง localhost/planificacion_talleres/frontend/web/index.php?r=planificacion หากผู้ใช้ถูกบันทึกไว้
- localhost/planificacion_talleres/ เปลี่ยนเส้นทางไปยัง localhost/planificacion_talleres/frontend/web/index.php?r=site หากผู้ใช้เป็นแขก
แต่ฉันไม่รู้วิธีเปลี่ยนเส้นทางโดยใช้ .htaccess เดียวกันไปยังหน้าอื่นโดยใช้เงื่อนไข ฉันต้องการความช่วยเหลือโปรด