aaPanel_Jose man the panel itself doesn't allow to add domain on domain.com/custom-location
There's no matching rules issue. You can try with your domain.
Try installing WordPress first on domain.com it'll work.
Now try to install another WordPress on domain.com/test
It will not allow to add this domain.
Aapanel one click WordPress installation only supports plain domain and subdomain like domain.com and test.domain.com but doesn't support this format domain.com/test