Pretty URLS without containing parent URL

Permalink
Hi All,

Can anyone advise how to specify a URL that doesn't include the parent URL?

The situation I have is a group of pages that we want to shorten the URL as much as possible, but still retain the sitemap structure.

Eg...

example.com/team/tony needs to become example.com/tony

The pages DO need to be grouped together under the team main page (there are other reasons for this) so simply moving the pages to the top level isn't an option for us.

Anyone familiar with a way to override the URL system for specific pages?

Thanks in advance.

Sadu
 
mrowell replied on at Permalink Reply
mrowell
There is no built in way to achieve this functionality.

We have a custom library and model to do this with 5.6.2.1.
mrowell replied on at Permalink Reply
mrowell
Sadu

There is also some discussion on the issue at
http://www.concrete5.org/community/forums/customizing_c5/how-to-rem...
Sadu replied on at Permalink Reply
Sadu
Thanks, this is probably the way I'll end up going. I don't really want to hack up the core too badly, this functionality is only needed for one section of the site, but there should be enough here for me to work with.
exchangecore replied on at Permalink Reply
exchangecore
You could set up a rewrite rule in your .htaccess file if this is a one off occurrence. However, that still wouldn't force the sub-page to redirect to the rewrite page, but it would allow you to gain access to the page via a URL off the root of the site.
Sadu replied on at Permalink Reply
Sadu
Thanks, I considered this but it needs to by dynamic (ie pages will be added and removed by the client).