17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 30758 Views |
-
Urls, why no 'sublevel' urls?

13 March 2007 at 12:55pm
If i have a page support -> help -> dashboard-help
I expect the url to look like: http://www.planhq.com/support/help/dashboard
but instead it looks like: http://www.planhq.com/dashboardany chance we have the choice?
-
Re: Urls, why no 'sublevel' urls?

13 March 2007 at 7:11pm
Sounds like a reasonable request to me
It might not make 2.1 but we'll put it on the to-do list... -
Re: Urls, why no 'sublevel' urls?

13 March 2007 at 9:36pm
This is actually trickier than you might think.
The problem is that if you visit support/help, you might mean the help action on the support page. Compare it to blog/rss, for instance, which is a different view of the blog page, rather than a sub-page in the CMS.
Your best bet is to make the page URL support-help-dashboard. It's possible that we could make the default URLs generated using this format.
-
Re: Urls, why no 'sublevel' urls?

16 April 2007 at 1:47pm
how would you go about setting the default of urls like that?
-
Re: Urls, why no 'sublevel' urls?

16 April 2007 at 4:08pm
Can't we implement a similar concept as Routing components in Rails ?
-
Re: Urls, why no 'sublevel' urls?

6 August 2007 at 3:17pm
I see what Sam is saying, but it would seem to me that presenting the same page differently would be the less frequent need? and same page with different information vs different page, its almost splitting hairs conceptually.
-
Re: Urls, why no 'sublevel' urls?

6 August 2007 at 10:07pm Last edited: 6 August 2007 10:09pm
It sounds like more work than it's worth to be honest. How would you have a generic solution for any page you create in the CMS? What happens if you have mysite.com/home/blog, the blog method will get called as well as the page with 'blog' as the URL segment?
-
Re: Urls, why no 'sublevel' urls?

8 August 2007 at 5:15am
> It sounds like more work than it's worth to be honest. How would you have a generic solution for any page you create in the CMS? What happens if you have mysite.com/home/blog, the blog method will get called as well as the page with 'blog' as the URL segment?
Indeed, I used to really want 'sublevel' urls, but I've been thinking that not having them has the following advantages:
* URLs are shorter which makes it much easier if someone ever needs to type them in
* If I rearrange my website, my URLs will remain stable.
| 30758 Views | ||
| Go to Top | Next > |








