Hi! i would like to hide folders in my url Like this www.example.net/folder/ www.example.net/folder/entry/abc www.example.net/folder/entry/def www.example.net/folder/entry/ghxyz ... and iwant to hide /folder/entry/ in the url like this: www.example.net/folder/ (stays) www.example.net/abc www.example.net/def www.example.net/ghxyz Is it possible? So many thanks for any help.
You can add location and disable access for this folder in nginx config: server { ... location /folder/ { deny all; } } Code (markup):