• Resolved morsiidj

    (@morsiidj)


    Hello,
    I have problem with search in my page, it’s generatinf 404 error page when i try to search. Problem come from URL when i search, it’s dommain.com/fr/accueil/?s=**** instead of domain.com/fr/?s=*****

    So i want to redirect dommain.com/fr/accueil/?s=**** to dommain.com/fr/?s=****

    this what i type in redirect plugin :
    /fr/accueil/?s=(.*) => /fr/accueil/?s=$1 (with Regex checked)

    But it doasn’t work ??

    (sorry for my bad English)

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

Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    Remember that ? is a regular expression character itself. If you want to use it as a standard character then it needs to be escaped:

    /fr/accueil/\?s=(.*)

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect search text’ is closed to new replies.