By mkjones on
OK, I get that all content when added gets a link like "www.site.com/node/12345"
Is there any way to change the "node" text to something like "content"??
So it would be "www.site.com/content/12345"
Also, is there anyway to have wordpress style page slugs so it could be "www.site.com/news/a-new-website" insted of "www.site.com/node/12345"
Any help would be wonderfull :)
Comments
two modules will help you:
two modules will help you: path and pathauto. the first lets you customize the path (url) of any node upon creation. the second allows you to create formulas for the automatic generation of custom paths based on node type, category, etc.
So using path.module, you can change the url of a node to, say, www.example.com/about
using pathauto.module, you can have Drupal rename all nodes of type "event" to
www.example.com/events/%title
or
www.example.com/%category/%date
etc, etc
Hmm, I see
I see, can any of these modules get there titles from Taxonomies that have been added?
For example if I have a Site > News category could new content listed under "news" somehow pick up the category name for the URL so its:
/news/this-is-news (or /news/12345)
Yes, pathauto module can
Yes, pathauto module can be configured that way, once enabled, check under administer -> settings -> pathauto
--
Webmaster Resources | Canadian Directory
CHEERS!
Thats great news. I will feedback as soon as I get chance to mess with these things ;)
What about the slugs?
Hi,
I have examined the pathauto module, but haven't found something like wordpress's "slug" feature.
For example, in the wordpress I'm specifying "Very long article title", and after that enter slug like "long_title". The URL after that can include this short slug instead of autogenerated from the real title term.
But it seems, it's impossible to define slugs for the nodes in Drupal. Are there any options?
I think, I have solved this
I think, I have solved this issue.
It's very easy to create the "slug" field using CCK. After that, the pathauto will allow use [field_slug] term to generate path with the slugs.