What would the best way to setup previous site urls to new Drupal site.
|
migrated from stackoverflow.com Feb 24 '11 at 8:25
|
You want the path module. If your old site followed a fixed scheme and you have a lot of urls, you might also be able to leverage pathauto. |
|||
|
|
|
The best way is to write your own import module which uses If you aren't able to do this, try to approximate your old site's urls with pathauto. Note that when you import, the paths probably won't be set with pathauto - you will need to go to the pathauto interface in order to generate these url aliases (they are called url aliases, since Drupal itself makes urls in a different way - but allows you to add url's to a page by means of these aliases). If you're doing this for SEO reasons, you'll also want to find a way to add the canonical metatag for pages which aren't aliased, to prevent yourself from getting a duplicate content penalty. Implementing this will probably vary, depending on whether you're using Drupal 6 or 7. It seems that the nodewords module has this functionality for D6 - just a suggestion, as I haven't used it. |
|||
|
|