How to add a static text at end of a wordpress permalink

I am using simple/standard page hierarchy to get a permalink like:
https://domain.com/county/city

I just want to put state at the end like this:
https://domain.com/county/city-nj

I am unable to put “-nj” at end.

I tried to Custom Structure like:
https://domain.com//%postname%-nj

But it doesn’t work. What should I do?

Read more here:: How to add a static text at end of a wordpress permalink

Leave a Reply

Your email address will not be published. Required fields are marked *