How is this module different from Path Redirect?

Perhaps the two should be merged.

Comments

nicholasThompson’s picture

As far as I'm aware, Path Redirect is used for redirecting a URL from A to B.

The intention/purpose of Global Redirect is not to send someone from A to B but to force Drupal to use an Alias, if one exists.

If I'm correct - both modules have different goals but achieve them doing basically the same thing.

Does your module automatically pickup URL Aliases if they exist?

jjeff’s picture

Ahh! Okay... thanks for the clarification. I understand the difference now.

nicholasThompson’s picture

Status: Active » Closed (works as designed)

It might make sense for Drupal 5.0 to have a module to do both of these in one module, although its equally nice to have two lightweight and targetted modules like ours. Eg, we dont want a redirect module on our site (YET), but we do need alias redirecting. If you're not using the path.module then you dont need alias redirecting - but you might want 301 redirecting as you have in your module.