• Resolved antforshaw

    (@antforshaw)


    Hi,

    Using ASL, it looks great and appears to function until the magnifying glass icon is clicked or I press return. When I press return or click the magnifying glass I wanted to redirect to a custom search results page: results?s={phrase}

    However this does not work and instead shows the 404 page. I also have the search shortcode on the 404 page, but that just produces a circular error and shows the same page.

    How is it possible to redirect to a different page that has the search results listed? I have not been able to make it happen yet and any help is appreciated.

    Many thanks,

    Anthony

    The page I need help with: [log in to see the link]

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

    (@wpdreams)

    Hi,

    The search results page is handled by WordPress by default. That option is to change the URL where the plugin redirects, in case you have a custom restults page URL. It will not change the results page URL, for that you need either custom mod_rewrite rules or a different approach. Here is a tutorial, which may help you with that.

    Once you have a solution implemented to handle the search results on a different URL, then you can change that option to make sure the plugin redirects to that as well.

    Best,
    Ernest M.

    Thread Starter antforshaw

    (@antforshaw)

    Thanks Ernest – that all makes sense to me.

    Kind Regards,

    Anthony

    Plugin Author wpdreams

    (@wpdreams)

    You are very welcome.

    I will mark this topic as resolved then.

    Feel free to rate the plugin, it is greatly appreciated. Thank you!

    Best,
    Ernest

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search results page shows 404 error’ is closed to new replies.