2

I'm working on a site that has an 'edition', like a newspaper. The URL structure looks like this:

website.dev/edition/2013-05-01

The date is the name and url title of the listing.

The edition channel links to all the content added to the website: articles, images, video, etc which all have their own listing channels. I'm using the structure module by the way.

If I view an article from an edition the url structure is like:

website.dev/article/the-name-of-the-article

If I make the other listing channels subpages of the editions, the url structure will look like this:

website.dev/edition/article/the-name-of-the-article

Basically I want it to look like this:

website.dev/edition/2013-05-01/article/the-name-of-the-article

Any advice on how to do this (Using the structure module).

2 Answers 2

1

Mmm, sounds like a job for Router.

1
  • I've never seen this before, thanks for the link. I've found a free alternative using Freebie. Apr 23, 2013 at 13:07
1

With Structure, every segment must be a page in the hierarchy. You may be able to do what you're looking for utilizing Freebie though: http://devot-ee.com/add-ons/freebie

1
  • Great, thanks! Was curious if there was a way to do it in Structure. I've used Freebie and will try a solution with that. Apr 23, 2013 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.