Title: checking permalink_structure in php
Last modified: August 22, 2016

---

# checking permalink_structure in php

 *  Resolved [ukndoit](https://wordpress.org/support/users/ukndoit/)
 * (@ukndoit)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/checking-permalink_structure-in-php/)
 * I want to check the permalink structure in my plugin, to make sure that the setting
   is not on the id, which has a security hole in it.
 * How do I check to make sure it is NOT set to the default, of using the numbers
   like p=1?
 * Thanks,
    Richard

Viewing 1 replies (of 1 total)

 *  Thread Starter [ukndoit](https://wordpress.org/support/users/ukndoit/)
 * (@ukndoit)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/checking-permalink_structure-in-php/#post-5667414)
 * I found it. get_option.

Viewing 1 replies (of 1 total)

The topic ‘checking permalink_structure in php’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [ukndoit](https://wordpress.org/support/users/ukndoit/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/checking-permalink_structure-in-php/#post-5667414)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
