• I have an interesting problem in regards to the pagination of searches. If I do a search for a phrase, such as blue widgets, I might end up with three pages of results. Looking at the URL of the first page it will read http://www.mysite.com/?s=blue+widgets and everything looks and works fine – except for the links to the subsequent search pages. For some reason the “+” is omitted from the URL and reads as http://www.mysite.com/?s=bluewidgets, resulting in a 404 error.

    Why would this be? I’ve checked it on several installs – some with a different theme – and they’re all appear to be the same. On the second and subsequent search pages the “+” is missing from the search term. If I manually add the “+” between the words then my results come back (relevant to the page number).

    Why would Relevanssi be stripping out the “+” between words?

    http://wordpress.org/plugins/relevanssi/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Relevanssi does not do that. It’s something else. None of my sites do this with – or without – Relevanssi.

    What can cause this? No idea. How does the pagination code on your site look like, what are you using for pagination? WP default functions, plugin, or something specific to your theme?

    Thread Starter Fretless

    (@fretless)

    Thanks Mikko. I’m still looking into it & trying a few things.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stripping the " " on pagination links’ is closed to new replies.