Need rewrite help

I’m new to nginx. I have everything up and running, except for one part.
WordPress site uses a real estate plugin that pulls in real estate

The URLs look like this:

Usually something like that URL is then rewritten by the plugin to be
search engine/user friendly to this:

I have the following rewrite which I know isn’t sufficient as the above
URLs are being sent back to the home page of my site.

location / {
try_files $uri $uri/ /index.php?q=$uri&$args;

How can I correct this so that I am able to see those listings?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs