WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] What is the query string for post-slug

[Resolved] What is the query string for post-slug

  • Currently my permalinks structure is like “example.com/posts/post-title” but I’d like to change it to “example.com/2006/02/post-title”.

    I know how to do this in the options section, but as everyone knows URLs must not die, so I’d like to know what the post-slug is called when it’s part of the query string.

    Like I know that ?p=54 will access the post with the ID of 54, but what’s the post-slug equivalent, something like: ?postslug= ?

Viewing 1 replies (of 1 total)
  • Ok, I found the right thing, it’s ?name= for those interested, but I’m having problems with rewrites. Be warned!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] What is the query string for post-slug’ is closed to new replies.
Skip to toolbar