Title: A development question about permalink settings
Last modified: July 31, 2017

---

# A development question about permalink settings

 *  [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/a-development-question-about-permalink-settings/)
 * Just found `get_post_permalink()` function doesn’t honor `Permalink Settings`,
   while `get_permalink()` does. Is that made by purpose?
 * Just curious, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/a-development-question-about-permalink-settings/#post-9368456)
 * get_post_permalink [_“Retrieves the permalink for a post of a custom post type.”_](https://developer.wordpress.org/reference/functions/get_post_permalink/)
 * get_permalink [_“Retrieves the full permalink for the current post or post ID.” _](https://developer.wordpress.org/reference/functions/get_permalink/)
 * I _think_ those are the explanations you might be looking for. I hope it’s helpful.
   Source info: [https://developer.wordpress.org/reference/](https://developer.wordpress.org/reference/)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 9 months ago](https://wordpress.org/support/topic/a-development-question-about-permalink-settings/#post-9368538)
 * Are you confusing get_post_permalink with get_the_permalink?
 *  [giollianosulit](https://wordpress.org/support/users/giollianosulit/)
 * (@giollianosulit)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/a-development-question-about-permalink-settings/#post-9368694)
 * It looks like this question has been answered before a few times on stackoverflow,
   but essentially:
 * >  The get_post_permalink() funciton fetches the link to a post depending on 
   > its “permanent” link plus your custom rewrite rules that changes ?p=123 into
   > for e.g. my-beautiful-sunday-diary. The get_permalink() function is more “basic”
   > but as well more versatile in what it does.
 * [Source](https://wordpress.stackexchange.com/questions/246563/what-is-the-difference-between-get-post-permalink-and-get-permalink)
    -  This reply was modified 8 years, 9 months ago by [giollianosulit](https://wordpress.org/support/users/giollianosulit/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘A development question about permalink settings’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 4 participants
 * Last reply from: [giollianosulit](https://wordpress.org/support/users/giollianosulit/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/a-development-question-about-permalink-settings/#post-9368694)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
