Path redirect with Drupal
Today, while I was doing a quick search on Google on my own site to see what result it will bring up, I was surprised to find a broken link which took a user to /taxonomy/term/CrossBrowserTesting.com page that doesn't exist on my site. I really don't know how that link ever popped up on Google.
Anyway, the link took users to a really messed up page where some of the blogs and pages where mixed into one long main content page. This is obviously not good and could show that the site is somewhat broken to any new user.
This was quickly resolved by installing a module called 'Path Redirect'. As the module name says it all, what it basically does is allow you to specify which URL to redirect to. This was done by adding the URL that you want to redirect (in this case, /taxonomy/term/CrossBrowserTesting.com) to an existing page that does exist which was /a-service-allows-you-test-your-site-different-browsers-online.
It's a small module but very useful and also great way to fixed old URLs that no longer exist but may still be used by other sites that are linking to a piece of article on your site.
Trackback URL for this post:
- ‹ previous
- 127 of 148
- next ›

Delicious
Digg
StumbleUpon
Reddit
Newsvine
Google
Technorati


can also use internal path
Note that as a proper Drupal module that does things the Drupal way, you can also pass path_redirect (URL Redirects under Build in the admin menu) your internal Drupal path (node/123) as well as a path alias.