I read another post on SO but it didn't work for me... I would like to access from https://VALUE.example.com - what is currently available at https://example.com/folder/VALUE/
I tried:
RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.example\.com$ [OR] RewriteCond %{HTTP_HOST} ^.example\.com$ RewriteRule ^folder/([^/]+)/?$ https://$1.example.com/ [NC,R=301,L] but it didn't work... any idea?
I took this as reference: Rewrite folder to subdomain