Submitted by drawk on Sun, 2006-10-08 06:21.

I wonder if extending this module might be a good way to solve that problem.

Do I understand correctly that the logic would need to be:

1) Check if the user is viewing a node
2) If so, check if the url has a trailing slash
3) If it doesn't have a trailing slash, send a 301 redirect to the same url with a trailing slash appended

?

It shouldn't be difficult to add that to the Global Redirect module, if that's all it would take. I'd be happy to write a patch.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
More information about formatting options

Hosted By Dreamhost.com


Did you know?

You don't need to register at WWDD to post comments.

Isn't it annoying when you want to comment on an article, but don't want to go through the hassle of creating yet-another-user account at yet-another-website?

Feel free to comment anonymously, or log in with your username@drupal.org account.

We won't mind a bit.