This project is not covered by Drupal’s security advisory policy.
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
Project information
- Module categories: Administration Tools
- Created by minghui.yu on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.