• Resolved vinuel

    (@vinuel)


    Hello!

    By default search results are displayed under the home URL, like this:

    https://mywebsite.com/?s=keyword

    Is it possible to show or redirect the results to a specific URL, like this:

    https://mywebsite.com/archive/?s=keyword

    ?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari

    (@msaari)

    It’s possible but complicated. The new URL should have a template file that can show the search results, and then you need to modify all your search forms so that they point to the new URL (in the action parameter).

    In general, it’s often not worth the bother, and in any case, not really related to Relevanssi. General WordPress support forums are a good place to get started with this.

    Thread Starter vinuel

    (@vinuel)

    Hi Mikko,

    thanks for the quick reply! I also would prefer not to have a diffrent page for the search results, but is a bit compliicated situation with a WordPress Multiisite…

    I’ve already found out about the actionthing, but was wondering if the search form is something the Relevanssi Plug-In is providing. It seems not …

    Thanks anyway!

    Thread Starter vinuel

    (@vinuel)

    Just for the record: This was what I was looking for.. https://wpengineer.com/2258/change-the-search-url-of-wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change URL of Search Result Page’ is closed to new replies.