Permalink Structure- %postname%-%custom_field_value%-test.html
I have generated this %custom_field_value%
Current URL Structure -
My query is that if i have two words in my custom value [john-smith]
it redirects me to page not found OR if it is [john] it is going well.
With Custom value [john-smith] URL [Not working]
http://www.mysitename.com/post-name-john-smith.test.html [Not working]
Goes to page not found page
With Custom value [john] URL [working]
and i know that not working case is why because wordpress treating my custom field value as post name because i have attached there it with a hyphen.
if you have any suggestion or idea to fix this share with me.
help will be appreciated
and thanks in advance.