Hi there, I was wondering if it is possible to use pathauto for specific node types only and not for all pages created on the site?

How could I do that?

Thanks

Comments

ricmadeira’s picture

Yeah, sure!

Just fill in the "Pattern for forum paths" field in the pathauto settings page after installing the module, and leave the patterns for all the other node types blank (including the user path, category path, blog path, user-track path settings). Easy!

patchak’s picture

I think that doing tha will create paths with pathauto for all node types but wil the default settings right? I would like to have pathauto create aliases only for the forums!!

Thanks for the answer,

patchak

azzegai’s picture

Make sure that all your path patterns are blank (including all "Default path pattern") except for the forum pattern, and pathauto should only create automatic paths for the forums.

venkat-rk’s picture

That's right. When you first visit administer>>settings>>pathauto, you will notice default placeholders for the node types. Just remove them and put only the one you want for forums and pathauto will generate aliases *only* for forums.

patchak’s picture

Thanks for the comments and answers I'll try that!