| I'd like to flatten the site structure of the site i'm
mirroring, but not run into dupe problems, by encoding the
original path in the filename, e.g.
site1.com/foo/file1.ext
site1.com/bar/file1.ext
site1.com-foo-file1.ext (or site1.com_foo_file1.ext)
site1.com-bar-file1.ext
If the site were query-based, I know how I'd do it, but is
there a way to do this? I suppose I can write something that
flattens it after the fact, but it would be far better to do
it in one go.
Any ideas?
Thanks,
--Joshwa | |