Soon, I’ll be replacing my Wordpress site with Discourse. Rather than set up a Permalink (or simple 301 redirect) for each URL individually, can I setup a wildcard to capture multiple pages at once? If not, is there a way I can import this data to speed up the process?
Example scenario:
Old Wordpress URLs | Discourse Topic ID |
---|---|
/example-a |
100 |
/example-a/example1.html |
100 |
/example-a/example2.html |
100 |
/example-a/example3.html |
100 |
/example-a/example4.html |
100 |
/example-b |
200 |
/example-b/example1.html |
200 |
/example-b/example2.html |
200 |
/example-b/example3.html |
200 |
/example-b/example4.html |
200 |
Visually:
Therefore any URL starting “example-a
” would go to 100
and “example-b
” would go to 200