I have SEO friendly URLs working using: try_files $uri $uri/ /index.php?$args

Quation Form Joomla Group From Facebook
Brad Griffiths‎

I have SEO friendly URLs working using: try_files $uri $uri/ /index.php?$args

Postby Brad Griffiths‎ » Wed 05 Dec 2018 9:24 pm

G'day everyone,
I hope someone can help me with a SEO Friendly URL question using Nginx. I don't fully understand the terminology, my appologies if I have used incorrect wording.

I have SEO friendly URLs working using: try_files $uri $uri/ /index.php?$args; I wish to expand on this a little as I'm now using Jumi to embed PHP inside an article, the goal is to use parts of the URI in the PHP code (for pagination as an example).

I'd like to match /article, /article/abc, /article/abc/xyz/12, etc and have all of this go to the same article that /article takes me to.