: The best way is to write your own import module which uses path_set_alias() to assure that the url of the page on the new site is the same as that on the old site. You can use Drupal's
The best way is to write your own import module which uses path_set_alias() to assure that the url of the page on the new site is the same as that on the old site. You can use Drupal's batch operations API to do this for you. This gives you more flexibility than simply using pathauto.
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.
More posts by @Sue5673885
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.