开发者

How to change the directory of blog posts in Drupal 6

开发者 https://www.devze.com 2022-12-16 07:13 出处:网络
First time user here: I am wondering ho开发者_如何学Cw you can change the directory of blog posts from www.yoursite.com/node/... to www.yoursite.com/blog/...?Use the Pathauto module to define an alias

First time user here: I am wondering ho开发者_如何学Cw you can change the directory of blog posts from www.yoursite.com/node/... to www.yoursite.com/blog/...?


Use the Pathauto module to define an alias for "blog entry" nodes.

EDIT:

Then go to www.yoursite.com/admin/build/path/pathauto, under "Node path settings", put something like blog/[title-raw] in "Pattern for Blog entry path".

Finally go to www.yoursite.com/admin/content/node, select all your blog entries, and select "Update path alias" under "Update options".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号