# friendlytv.site — wire /vpn-*.php to this EP tree (choose ONE method)
#
# --- Method A: symlink + .htaccess (simplest) ---
#   sudo ln -sfn /var/www/html/wordpress6/wordpress/EP /var/www/html/wordpress2/wordpress/EP
#   sudo chown -h www-data:www-data /var/www/html/wordpress2/wordpress/EP
# Copy the block below to /var/www/html/wordpress2/wordpress/.htaccess
# (If WordPress lives there later, keep this block above # BEGIN WordPress.)
#
# --- Method B: Apache in 003-wordpress2-le-ssl.conf (no symlink) ---
#   Alias /EP /var/www/html/wordpress6/wordpress/EP
#   <Directory /var/www/html/wordpress6/wordpress/EP>
#       AllowOverride All
#       Require all granted
#   </Directory>
#   RewriteEngine On
#   RewriteRule ^/vpn-([a-zA-Z0-9_.-]+)\.php$ /EP/vpn-$1.php [L,QSA]
#
# Test: https://friendlytv.site/vpn-login.php

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^vpn-([a-zA-Z0-9_.-]+)\.php$ EP/vpn-$1.php [L,QSA]
</IfModule>
