Litespeed won't find subdomains links

#1
I'm trying to setup a WordPress website inside the folder of another WordPress instance.. so would be something like:

var/www/html - main WordPress
var/www/html/portfolio-websites/ecommerce-example - second WordPress

And it works at the first point.. so I installed the second WordPress and installed some themes and plugins.. but then I noticed that some urls get 404 for no reason.. so I passed some time trying to fix that. But idk how.. I'm using cloudflare + digital ocean droplet with openlitespeed. Any one has a idea on how to solve that ?
 
Top