If you put it in a subdirectory called forum
or forums
off your root, you are then going to have /forum(s)/forums. Simply rename that subdirectory to /community or something similar like what is done here and then you have community/forums
or community/threads
.
The /forums
and threads
are a natural part of the script. There is no way to get rid of them as they are built in routes. Trying to do nginx rewrites won't work out the way you are wanting.