

# EnglishSpeak - Direct Student Game URL Guard
# Place this file in:
# C:\laragon\www\EnglishSpeak\student\.htaccess

RewriteEngine On

# Route direct access to student game files back through the Runtime Router.
# Runtime will check Lesson Unlock before including the requested game.
RewriteRule ^(student-word-list|student-flashcards|student-listen-repeat|student-memory|student-matching|student-quiz|sentence-listen-repeat|student-find-word|student-fix-word|student-word-builder|student-word-unscramble|student-sentence-builder|student-dialogue|student-practice)\.php$ student-runtime/index.php?__es_game_router=1 [L,QSA,NC]
