• We’re letting people link to our blog using a command such as this..

    http://www.domain.com/?id

    Where id becomes their specific linking code.

    Each of the links we have on the page carry their id across them but, we’re running in to some problems with multiple pages, specifically, when you click through to a post or to an archive page, the /?id section of the php query is being changed to /?p=130 or whatever the page navigation number is.

    Is there any way to remove the question marks from WordPress so we can rectifiy this issue?

    Ive tried changing the permalink structure but the question marks are still appearing even when the nav structure is domain.com/blog/post-name/

    Anyone have any idea how we can solve this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you are Using_Permalinks properly, the “?” shouldn’t appear in the URI. However it might not work with only the %postname% – it needs something more (like ID#) to get the post.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try either this:

    /%year%/%monthnum%/%day%/%postname%/

    or this:

    /%post_id%/

    Thread Starter Belmont

    (@belmont)

    Ive tried those options and several others with the permalinks, its not that the /?p=130 is showing in the url, its showing in the PHP querie that i have included on the page because it reads anything after the question mark as a unique identifier.

    Sounds like you just need to change the code that you’re using.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How To Remove ?p=X From Navigation?’ is closed to new replies.