Title: get variables value from permalink
Last modified: August 19, 2016

---

# get variables value from permalink

 *  [al404](https://wordpress.org/support/users/al404/)
 * (@al404)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/get-variables-value-from-permalink/)
 * if i use permalink url how can i retrive values
    especialy postid, and category
   id (in some case you only see the name)
 * does exist a codex function?

Viewing 1 replies (of 1 total)

 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/get-variables-value-from-permalink/#post-1970049)
 * are you wanting to find out this information on the post page? (ie: single.php)
 * you could try the get_query_var function
 * [http://codex.wordpress.org/Function_Reference/get_query_var](http://codex.wordpress.org/Function_Reference/get_query_var)

Viewing 1 replies (of 1 total)

The topic ‘get variables value from permalink’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/get-variables-value-from-permalink/#post-1970049)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
