# Permalink Wildcards

**URL:** <https://meta.discourse.org/t/permalink-wildcards/110998>\
**Category:** Support\
**Created:** [March 7, 2019, 4:51pm UTC](https://meta.discourse.org/t/permalink-wildcards/110998 "2019-03-07T16:51:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DigitalStartup](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/digitalstartup/32/118242_2.png) [@DigitalStartup](https://meta.discourse.org/u/DigitalStartup)\
**Post date:** [March 7, 2019, 4:51pm UTC](https://meta.discourse.org/t/permalink-wildcards/110998/1 "2019-03-07T16:51:56Z")

</div>

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:_

 ![Untitled%20Diagram](https://global.discourse-cdn.com/meta/original/3X/a/e/ae2d2c98b60065ff5c0f9d47d3a2bc85b8f2ab72.png)

Therefore any URL starting “`example-a`” would go to `100` and “`example-b`” would go to `200`

---

_[View the full topic](https://meta.discourse.org/t/permalink-wildcards/110998)._
