I changed my Drupal 6 website tag structure and got a new URL however old URLs are indexed in Google and are generating 404 errors.

My old URLs are


numeral - 12345 in this URL was tag no in the database

new URL structure is


Now I wish to create a redirect so that


goes to


and remove the random numeral nos in URL.. How to do it?

1 Answer 1


You can use Path Redirect module. Module page says -

This module allows you to specify a redirect from one path to another path or an external URL, using any HTTP redirect status.

As I see you are talking about taxonomy terms, so alternatively you can use Taxonomy Redirect.

This module allows the administrator to change the destination of Taxonomy Term links.

  • The module can now handle redirections at the term level.
  • You can specify a replacement character for spaces and + characters.
  • You can specify a list of characters or strings to remove from the path
  • You can enter php code that will create your path at runtime (In 5.x-1.3, variables for term ID ($tid) and term name ($tname) are available to use in your php code).
  • other than this is there any htaccess redirect also possible?
    – Deepblue
    Aug 18, 2013 at 5:50
  • You can look into documentation for .htaccess redirect at drupal.org/node/38960
    – RajeevK
    Aug 18, 2013 at 5:52
  • can u give specific example as what to do as i am a newbie and cant figure out
    – Deepblue
    Aug 19, 2013 at 3:23
  • @Deepblue You can through the documentation of drupal.org/project/path_redirect. It's pretty much self-explanatory..
    – RajeevK
    Aug 19, 2013 at 3:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.