Drupal hook_url_inbound_alter not altering my url
问题 I have in my module named 'categorie' a implementation of: function categorie_url_inbound_alter(&$result, $path, $path_language) { if ($path == 'e') { $result = 'user'; } } I'm planning to do something a bit more advanced but I can't even seem to get the basic one working. With this implementation I expect that if a user goes to mysite.com/e , he gets the user page. But I'm getting a 404. In this topic:Using module: url_alter and it's hook: hook_url_outbound_alter() they also suggested you