Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7443627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:21:36+00:00 2026-05-29T11:21:36+00:00

How does one get SEO friendly url’s in sunspot?, The method of search form

  • 0

How does one get SEO friendly url’s in sunspot?,

The method of search form is GET as suggested from the rails docs, but now i have a very long query string that looks terrible, is it possible to have it something like

/search/param1/bla/param2/bla 

instead of the long

?search&param1=somevalue&param2=someval2
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:21:38+00:00Added an answer on May 29, 2026 at 11:21 am

    You could modify your search route to include the params. Something like this within your routes.rb:

      match '/search/:param1/:param2' => 'search_controller#search_action', :as => :search_with_params, :via => :get
    

    Then a user would visit:

    /search/value1/value2

    Which gives you params[:param1] and params[:param2] to access the values from the url.

    If those 2 params are not required for all searches I believe you would also need a route just for the search action:

    match '/search' => 'search_controller#search_aciton', :as => :search, :via => :get
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Withing a Silverlight Application, how does one get the ID from the URL when
How does one get the size of the drawing area in a Windows Form?
How does one get the destination point from ItemDragEventArgs ? With Microsoft.Windows.DragEventArgs e it
how does one get the picked value of a combo box from delphi 7
How does one get a nested form id while using jquery? lets say the
In Silverlight, how does one get row data from a DataGrid that is full
How does one get the current touch location from a GestureRecognizer? I need to
How does one get their current process ID (pid) from the Linux command line
How does one get the screen resolution of the current monitor? By current monitor,
Does any one know if its possible to animate app.current.mainwindow.width so that you get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.