Title: WordPress URL structure
Last modified: August 18, 2016

---

# WordPress URL structure

 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/)
 * I’m guessing this is a PHP question?
 * The wordpress URL structure:
 * [http://mydomain/wordpress/index.php/2006/03/mypermalink/](http://mydomain/wordpress/index.php/2006/03/mypermalink/)
 * Can someone explain (or point me to a good resource that explains) how the stuff
   after “index.php” is added to the URL?
 * I’m converting the rest (i.e. non-blog parts) of my website to PHP, and can see
   potential uses for a similar URL structure.
 * Hope the question even makes sense; I’ve not had enough coffee yet today!

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

 *  Thread Starter [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363529)
 * Anyone?
 *  [westondeboer](https://wordpress.org/support/users/poil11/)
 * (@poil11)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363551)
 * if you go to [http://www.chipbennett.net/wordpress/wp-admin/options-permalink.php](http://www.chipbennett.net/wordpress/wp-admin/options-permalink.php)
   
   you change change the way that it all looks
 *  Thread Starter [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363675)
 * I don’t want to *change* my blog permalink structure.
 * I want to know how WordPress *builds* the permalink structure. I don’t know PHP
   well enough to know how to put “stuff” after the …index.php – as follows:
 * …index.php/2006/03/fake-permalink/
 * How is that done? Is it a PHP thing, or a WP thing, or what?
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363676)
 * What exactly are you trying to do? Are you just curious how it works behind the
   scenes? Or what?
 *  [prjg](https://wordpress.org/support/users/iiiiiiiv/)
 * (@iiiiiiiv)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363677)
 * [@chipbennett](https://wordpress.org/support/users/chipbennett/). It’s neither
   a WP nor a PHP thing, it’s a mod_rewrite thing. Yor URL’s are being written into
   human friendly URL’s by a series of rules.
 * [http://httpd.apache.org/docs/1.3/misc/rewriteguide.html](http://httpd.apache.org/docs/1.3/misc/rewriteguide.html)
   
   The science behind it all. Good luck.
 *  Thread Starter [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363681)
 * IIIIIIIV,
 * Oh, it’s an Apache thing! 🙂
 * Thanks! That was exactly what I was looking for…
 * Now, to go edumacate myself 🙂
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363682)
 * Well, in v1.x, it’s done all via mod_rewrite (including parsing), but in v2.x,
   mod_rewirte just hands it off to WordPress which decodes the URL.

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

The topic ‘WordPress URL structure’ is closed to new replies.

## Tags

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

 * 7 replies
 * 4 participants
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/wordpress-url-structure/#post-363682)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
