I want to rewrite the defaul drupal /admin/ path via custom_url_rewrite_.. function (in settings.php).
Doing so I get noticed from url_alter module that I should move my code to be handled from within the module.
Trying to save the custom functions within url alter module, leads to a blank page - as the redirect from /admin/ to /my-secret-admin-path/ fails obviously.

Am I missing something or is there a fix?

thanks in advance

Comments

Dave Reid’s picture

The module should disable itself on the 'admin/settings/url-alter' path that's not happening in this case?