并选择一个目录回htaccess

my home directory is this /public_html/

my subdomain directory is /public_html/es/

what I need is my subdomain to point to the main directory. using htacces I am using ../ but does not work :(

I imagine that this can do, and if it is not possible please tell me

# Activar RewriteEngine
RewriteEngine on
RewriteCond %{HTTP_HOST} ^es\.example\.me$
RewriteCond %{REQUEST_URI} !^../index.php
RewriteRule (.*) ../index.php$1 [L]

If I understood you correctly, this is all that is needed:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^es\.example\.me$
RewriteRule es/(.*)$ /$1 [L]