Hi, I hope this message finds you well 🎋🌻🎉
I'm trying to move a Grav install from a domain to another domain.
I was able to see all works just moving the folder in the new domain but what I want do this time is hide the subdirectory from the URL.
My new domain is www.newdomain.ext
Grav in reachable at www.newdomain.ext/grav/it where it is the language and is something added automatically when I load www.newdomain.ext/grav
Now I want that the home page showed at grav subfolder URL is showed when load the main url so from www.newdomain.ext/grav to www.newdomain.ext
I tried to follow the guide https://learn.getgrav.org/17/advanced/change-site-url but for me never works.
I tried to place in the root .htaccess the rule
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/grav/
RewriteRule ^(.*)$ /grav/$1
But I get browser redirection loop error.
I tried to set the custom_base_url in system.yaml as custom_base_url: 'https://newdomain.ext' but still doesn't work.
I get redirect browser error.
Any help?