I want to use sitename.com/content-title for one possibly two content types.
I can’t seem to add the correct wild card/token the menu hook.
$items['%'] = array( … )开发者_JS百科;
Is this possible?
pathauto should do this for you. Use path rather than menu hooks for content as large menus cause perforance hits.
精彩评论