Quote:
Originally Posted by Rashef
But I'm still not able to have Wordpress in a subfolder working with the root URL, anyone succeed on it?
|
Set up a new vhost and add a root directive that points to the correct folder:
Code:
location / {
root /path/to/your/document/root;
try_files $uri $uri/ /index.php?$args;
# Add trailing slash to */wp-admin requests.
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
expires max;
log_not_found off;
}
}