WordPress.org

Forums

Relevanssi - A Better Search
Redirect to page on specific search word(s) (2 posts)

  1. abda53
    Member
    Posted 1 year ago #

    Is is possible to redirect automatically to a specific page/url if a search word was entered?

    For example, someone searches for "contact" I need it to not show the search results, but to redirect to the contact page.

    https://wordpress.org/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, that's possible, but the solution will have nothing to do with Relevanssi. Just write some code that checks the search term and redirects the user to the contact page if the search term is "contact".

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic