# Permalink to Discourse search

**URL:** <https://meta.discourse.org/t/permalink-to-discourse-search/18818>\
**Category:** Feature\
**Created:** [13. August 2014 um 18:27 UTC](https://meta.discourse.org/t/permalink-to-discourse-search/18818 "2014-08-13T18:27:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**Post date:** [13. August 2014 um 18:27 UTC](https://meta.discourse.org/t/permalink-to-discourse-search/18818/1 "2014-08-13T18:27:05Z")

</div>

We’re importing a Vanilla forum to Discourse; as part of this migration, I’m writing a PHP script to 301 redirect old Vanilla URLs to new Discourse URLs. I’ve got most of them hooked up properly, but I’m having trouble with search URLs. I don’t see a way to 301 redirect a user to a Discourse search result.

[Search results for '' - Discourse Meta](https://meta.discourse.org/search) returns “200 OK” but displays a 404-ish error message, “The page you requested doesn’t exist or is private.” (That seems like a “soft 404,” a bug.)

How, if at all, can I link to a Discourse search result page?

---

_[View the full topic](https://meta.discourse.org/t/permalink-to-discourse-search/18818)._
