Create custom URL with different levels

On a very basic level, sub-pages inherit the URL segment of their parent page.

A bit more complex, when creating custom taxonomies and custom post types you can define their slug for the WP rewrite engine. The documentation: http://codex.wordpress.org/Taxonomies#Custom_Taxonomies

Neither is exactly what you’re looking for… Writing to .htaccess wouldn’t be that hard.