hi, I would like to create a site in a subfolder of a domain that I have already created through easyengine.
my actual domain are https://domain.com and i want create a separate site (no multisite ) in a subfolder called “news”, so the url are https://domain.com/news/
I have already seen that requests have been made on the forum as in these discussions:
so i tried to make some update but actually i see a difference between files exposed in this discussion and the file in my easyengine installation, probably because the discussions are old.
in my /etc/nginx/sites-enabled/domain.com
i see this code :
server {
server_name domain.com www.domain.com;
access_log /var/log/nginx/domain.com.access.log rt_cache;
error_log /var/log/nginx/domain.com.error.log;
root /var/www/domain.com/htdocs;
index index.php index.html index.htm;
include common/php.conf;
include common/wpcommon.conf;
include common/locations.conf;
include /var/www/domain.com/conf/nginx/*.conf;
}
how I need to modify this file for both sites to work properly ?
i have already installed both wordpress installations, the only problem is URL rewrite on subfolder that not work correctly.
Thanks