Hi all,
I'm stuck in a bad way trying to get the taxonomy to work. I read everything I could find about the Taxonomy module and how it work, and messed around in the admin section, but nothing is working.
What I want is this kind of hierarchy:
/blog
/blog/category1
/blog/category2
/tools
/section3
etc.
At the moment, I have /tools working and the stories (of the blog) show up on the home page. If I'm logged in I can access the stories in /blog/category1 and /blog/category2 but if I'm not logged in, I cannot access either of those categories. In either case, browsing to /blog gives a 404.
I can see I'm close, but it's not working. How can I get a site that has a blog in /blog and the associated story categories and have other sections like /tools etc? I have no problem starting from scratch if need be.
Thanks in advance.
Pierre
Comments
Take a look at the Pathauto
Take a look at the Pathauto module. I think it can do what you want.
Drupal-centric webdesign · Drupal Polska
As far as the categories not
As far as the categories not showing up when you're not logged in, are you sure you have the correct permissions set up in access control?
And as far as /blog showing up as a 404. "blog" is your vocabulary is it not? That means a page will not be generated for it. Pages are only generated for your terms.
Thanks for the replies. Much
Thanks for the replies. Much appreciated!
I'm already using pathauto to generate the clean URLs that I mentioned.
Re /blog not getting a page generated for it: why not? It doesn't make sense to have a vocabulary to not have a page. Users are used to "URL hacking" to browse sites: if they land on (say) /blog/cat1/title they tend to know that /blog is the section and delete cat1/title to get to the blog. A 404 would not be a nice thing to see.
So the question is, how do I make sure I get a page on /blog?
Thanks.
Pierre
Pathauto is not just for
Pathauto is not just for creating clean URLs -- you have the power to dictate how URLs are constructed for content types, user blogs, user profiles, etc. Depending on the ultimate complexity of your site, what you want to do is either establish automated URL construction formulae that will give the results you want or else use *Path* (not the same as Pathauto) to manually set aliases.
Proton Cannon
Re: Re: /blog not getting a page generated for it
I know man, I agree with this 100%. It didn't make sense to me when I first started out, and it still doesn't. There are a lot of weird things in Drupal that I wish they would change.
You can get a page on /blog simply by making a node with the alias "/blog". What exactly do you want to put there?