scrap pad

drupal clean urls

I was annoyed that you can't tell drupal to make clean urls automatically, so I hacked up this bookmarklet: drupal - make clean path. Note! doesn't check wheather you're on a drupal content creation page! doesn't check anything, in fact! doesn't even notice where you've put the content within the menus. needs drupal's clean urls turned on, etc. thrown together in firefox.

hopefully I'll (a) find the actual solution to this or (b) actually solve this. that would mean turning it into a module that auto-creates the clean url (unless a someone has edited the field), and makes sure the url is unique. and bases the url off of the item's place in the menus. it would probably not be client-side.

Archives

who I am