Background

When porting a static HTML site to a Drupal site, it is very likely that you need to reproduce legacy site's URLs on new site.

For example, if legacy site has a URL link www.example-legacy.com/here/is/path/about.html, then you want to duplicate the file path on your new site like www.example-drupal.com/here/is/path/about.html.

Here, here/is/path/about.html is simply a URL path (alias) on Drupal site. Its internal Drupal URL is something like node/100 (clean URL feature is enabled)

It is very likely that you need to reproduce hundreds, even thousands of such URL links. It is a very time demanding and tedious work. This module is developed to complete this job.

Introduction

This module works in two ways

1) You provide a list of paths (one per line)
2) If legacy site and new (Drupal) site are hosted on one machine and if OS is *nix system, you can tell a directory & file extension to search.

Either way, this module reads outputs of 1) & 2) above mentioned, and creates nodes with node title, node body, and node URL path set to given path.

For 2) only:

If a file's path is /var/www/html/about/history.html in the legacy site, in which Apache config's DocumentRoot is /var/www/html, then this module will only copy the path relative to DocumentRoot. In this case, a new node in Drupal site will be created as www.example-drupal.com/about/history.html.

This module does not copy data (ie: contents between <body> and </body>), it just copies the path and creates a node.

See Also

Downloads

Version Downloads Date Links
6.x-1.x-dev tar.gz (8.18 KB) | zip (8.84 KB) 2011-Feb-25 Notes

Project Information

  • Module categories: Path Management
  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 3 sites currently report using this module. View usage statistics.
  • Last modified: November 30, 2009

Maintainers for Path copier

  • minghui.yu - 2 commits
    last: 2 years ago, first: 2 years ago

Issues for Path copier

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports