Title: Passing variable through permalink
Last modified: August 20, 2016

---

# Passing variable through permalink

 *  [Minelli](https://wordpress.org/support/users/minelli/)
 * (@minelli)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/passing-variable-through-permalink/)
 * Hi,
    Is there a way to pass variables through the permalink structure via mod_rewrite
   or something else?
 * I’m aiming to do something like this,
    [http://domain.com/myvariable/234567](http://domain.com/myvariable/234567)
   and not to get the 404 – page not found header. I would like to receive a get
   variable of $_GET[‘myvariable’] which the should be “234567”.
 * Regards,
    Linus

The topic ‘Passing variable through permalink’ is closed to new replies.

## Tags

 * [mod_rewrite](https://wordpress.org/support/topic-tag/mod_rewrite/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)
 * [variables](https://wordpress.org/support/topic-tag/variables/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Minelli](https://wordpress.org/support/users/minelli/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/passing-variable-through-permalink/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
