Hello,
I wish to work with the redirect module:
* I need to fix a few thousand redirects
(from /dir/url.html to /dir/url/index.html )
* I'm also thinking of changing all existing redirects to point to their original drupal-internal addresses
(from /dir/url.html to /node/143 or /taxonomy/term/123 )
* and then I'd love to check all redirects for recursiveness
(/dir/url.html -> /node/143 -> /node/132 -> /node/143 )
That last one is why I'm aiming to redo all redirects to the drupal-internal URLs: they're much easier to check for recursives.
I've hacked D6 modules, but not D7. I've also made my own scripts from scratch. D7 redirect includes hashtags which look to be quite complicated to code, so I thought I'd leverage the module itself and make an add-on module.
However, example module contains no redirect example. Would I need one, or could I use other examples, and if so, which?
Many thanks!
Comments
Comment #1
mile23Are you referring to the contrib redirect module? http://drupal.org/project/redirect
Examples project only deals with Drupal API examples. You might find your answer in that module's issue queue: http://drupal.org/project/issues/redirect?categories=All
But mostly it sounds like you want to explore Pathauto module, and/or Pathologic. http://drupal.org/project/pathauto
Comment #2
Hetta commentedOK, thanks!
Comment #2.0
Hetta commentedtyops