Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trailing slash in drupal

Tags:

url

drupal

Drupal by default does not allow trailing slash for pages and articles. Is it possible to allow trailing slash using a plugin?

like image 848
Joyce Babu Avatar asked Nov 03 '10 09:11

Joyce Babu


2 Answers

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

like image 73
flndr Avatar answered Oct 02 '22 14:10

flndr


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.

like image 39
Unreason Avatar answered Oct 02 '22 15:10

Unreason