[wp-hackers] proposal: context based urls

Burobjorn burobjorn at gmail.com
Wed Apr 18 20:33:56 GMT 2007


I would like discuss an idea that recently popped up during the 
development of some custom made plugins for my clients.

A lot of people seem to use Wordpress as a 'poor man's CMS' and while 
Wordpress is and has been very flexible I would like to propose to use a 
new form of url system which might make it even better. The general idea 
is that the urls would be used with a system wide dispatcher routing the 
urls to previously registered callbacks. Similar to the way Drupal does 

This new system would follow the basic idea that the Wordpress urls are 
built up using the following principle:

1) A wordpress url consists of a base domain e.g.

www.wordpress.tld or wordpress.tld

2) Followed by a unique context parameter e.g.

/blog (in the case of WP MU)


3) Possibly followed by a unique action parameter e.g.



4) Possibly followed by one or more values


Some example urls:


Please let me know what you think of this. Does this make sense or am I 
trying to do something that already exists in WP (MU) using the 
permalinks or rewrite options?

All the best,


More information about the wp-hackers mailing list