Welcome! Log In Create A New Profile

Advanced

Enable rewrite for subfolders

Posted by milstanyu 
Enable rewrite for subfolders
March 16, 2016 02:02PM
Hello,

I am running multiple Joomla instances on my NGINX server (ubuntu 14.04) in subfolders. I would like to enable SEF links for each Joomla. This is working fine in my server configuration:

location /joomla1/ {
try_files $uri $uri/ /joomla1/index.php?$args;
}
location /joomla2/ {
try_files $uri $uri/ /joomla2/index.php?$args;
}
# and so on for each Joomla instance...

But I am wondering is there an easier way to enable SEF links for all Joomla instances (all folders) at once in my root folder?

I used to achieve this on Apache by adding the same .htaccess file in each folder.

Thanks,
Milos
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 341
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready