Page 1 of 1

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

Posted: Wed 05 Dec 2018 9:24 pm
by Brad Griffiths‎
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.