The issue
My flarum install via path domain/public. When I browse the domain .xyz the link is unavailable. However browse using domain/public is ok.
So I settings the domain to redirect to /public
Who have skill & knowledge about this? What I have done wrong in redirect?
<IfModule mod_alias.c>
RedirectMatch 301 ^/$ https://domain. xyz/public
RewriteEngine On
RewriteCond %{HTTP_HOST} domain.xyz [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule .*$ https://www.domain. xyz/$1 [R,L]
</IfModule>