maena Posted June 10, 2021 Author Share Posted June 10, 2021 Thank you very much !duo.hh.us is working perfectly ! I have a difficulty:I would like to have only folders on my ftp root:maena/maenamaena/duo I tried:maena/maena/.htaccess :RewriteEngine OnRewriteCond %{REQUEST_URI} !^/\.well-known/RewriteCond %{HTTP_HOST} !^maena\.heliohost\.us [NC]RewriteRule ^(.*)$ https://maena.heliohost.us$1 [R=301,L] Result: no effect I searched and tried:maena/.htaccess : (root folder this time)Redirect /index.html /maena/ Result: it works for maena subdomain but it breaks duo subdomain. duo subdomain will appear as : duo.hh.us/maena. I think the goal is not far. Does anyone know how I could redirect the main domain to maena/maena subdomain without impacting duo subdomain ?Should I just create a subdomain maena in CPanel ? I suppose I cannot because it is the same name as the main domain ?Should I change the htaccess content for maena/maena ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.