Title: Custom Permalink Structure
Last modified: January 25, 2018

---

# Custom Permalink Structure

 *  [rupture231](https://wordpress.org/support/users/rupture231/)
 * (@rupture231)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-permalink-structure-7/)
 * Hello, is it possible to dynamically pull permalink structure from state/city?
   Ex: mysite.com/locations/california/los-angeles? If possible, what’s the best
   way of going about it? Any help is greatly appreciated!

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-permalink-structure-7/#post-9908163)
 * This will likely be possible, but I never done it, and it will be quite technical.
 * There are a few related threads about this on [Stackexchange](https://wordpress.stackexchange.com/questions/53298/custom-post-type-url-rewriting),
   also more in the related sidebar on the right side.
 * If you’re comfortable with code, then maybe those articles will help you get 
   started.
 * Since I never tried it myself, I unfortunately don’t have any code snippets to
   share.
 *  Thread Starter [rupture231](https://wordpress.org/support/users/rupture231/)
 * (@rupture231)
 * [8 years ago](https://wordpress.org/support/topic/custom-permalink-structure-7/#post-10305462)
 * Hello [@tijmensmit](https://wordpress.org/support/users/tijmensmit/), I just 
   wanted to follow up on this post from months ago. I recently started a project
   where I wanted to implement this permalink structure. I wrote a code that is 
   working just how I want it to accomplish the initial request. I have two questions,
   would you mind looking at my code and letting me know if it is efficient enough
   code?
 * Also, if it is written to your standards, would you consider publishing it on
   your website as a Customization entry? I feel like this feature is something 
   that holds a tremendous weight for people focusing on SEO for their individual
   store pages. I know it took me quite a bit of research to get a working model,
   it might save people a lot of stress down the road.
 * Please let me know your preferred method of sending the code snippet and I’ll
   do it. Thank you!
    -  This reply was modified 8 years ago by [rupture231](https://wordpress.org/support/users/rupture231/).
    -  This reply was modified 8 years ago by [rupture231](https://wordpress.org/support/users/rupture231/).

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

The topic ‘Custom Permalink Structure’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [rupture231](https://wordpress.org/support/users/rupture231/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/custom-permalink-structure-7/#post-10305462)
 * Status: not resolved