Change Permalink Structure (1 post)

  1. Hemendra
    Posted 2 years ago #

    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]

    http://www.mysitename.com/post-name-john-test.html [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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.