WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. abda53
    Member
    Posted 6 months 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 6 months 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".

Reply

You must log in to post.

About this Plugin

About this Topic