开发者

Trailing slash in drupal

开发者 https://www.devze.com 2023-01-23 01:25 出处:网络
Drupal by default does not allow trailing slash for pages and articles. Is it possible to allow trailing slash using a 开发者_Go百科plugin?You could hack the globalredirect module to reverse its logic

Drupal by default does not allow trailing slash for pages and articles. Is it possible to allow trailing slash using a 开发者_Go百科plugin?


You could hack the globalredirect module to reverse its logic -- add the trailing slash if its not there, leave it alone if it is.


As suggested by Nikit this should be doable through webserver rewrites.

There are some discussions on it on drupal.org. I would recommend heading over to freenode and asking on #drupal.


Trailing Slash module for Drupal 7:

http://drupal.org/project/trailing_slash

Might have a D6 version later.


Try this: URL with trailing slash

0

精彩评论

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

关注公众号