I've created a custom content type (using administer->content types->add content type), called Journal. It'll behave similarly to a Blog entry but has some of the options set differently (eg. not published to front-page, whereas my blogs are).
The question is how to make this new content type aliased in the drupal path. Blogs are aliased as sitename.com/blog. How can I alias this new content type to sitename.com/journal (for example). I would like to have this new content type's alias to behave in the same way as sitename.com/blog would (and list all the blogs, or be able to be sorted by username).
I've tried to use the path and pathauto modules, but don't seem to be able to get this working.
Comments
any luck?
I'm looking for the same thing. Did you happen to figure it out?
In Path Auto simply add
In Path Auto simply add 'journal' as the first 'place holder' for the Journal node type (under node path settings):
journal /[title]
If you have a vocab called 'journal' you could use the [vocab] place holder:
[vocab]/[title]
There's a lot of different ways to set this sort of thing up, depends on how you want to structure your site and your specific path requirements. Keep playing with it and you will get there.
Remeber if you are using taxonomy to make settings for the category path settings also.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Index Aliases
Thanks. I went into pathauto and ticked create index aliases
This is doing exactly what I wanted. However I read on the pathauto page that this was not a good thing to do
Is there another way? I need to be able to access different sets of news at /news, /news/[yyyy], /news/[yyyy]/[mm], etc.
Not sure about that, maybe
Not sure about that, maybe Views or the archive module (which I have never used, you'll have to check that one out yourself).
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.