Support » Plugin: Relevanssi - A Better Search » Problem building index (redirects)

  • I’m having this problem on two sites. The issue is that there are pages in the site that redirect upon loading. When I click ‘Build Index’ I am redirected to the termination page, and the build does not complete.

    Anything we can do to fix this issue? Most notably it is happening in conjunction with Jigo Shop


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


    How is that redirection done? Why does it trigger when you build the index?

    I don’t know what jigoshop uses. The other one uses header(‘location:’)

    I don’t know why it’s triggering when the index is being built though.

    Plugin Author Mikko Saari


    I would recommend excluding those redirection pages from the index. Is there a point to index them, if they’re just redirects?

    I actually did exclude them, but it happens anyway. Not sure how the exclusion works, if it still pings the page maybe, but doesn’t save it in the index?

    Anyway, love relevanssi, just trying to figure out a way around this bug.


    Plugin Author Mikko Saari


    Well, Relevanssi does call the post with get_post(), so if that’s enough to trigger the redirect, then yes… But very hard to say, without taking a closer look. You might want to ask the developers of JigoShop about this.

    I had a similar problem. If you reload the Relevanssi Search Options page and uncheck “Expand shortcodes in post content”, then at the top Quick tools, change the number to 1 documents and continue indexing. This should get past whatever page is redirecting it. Next go back down and recheck “Expand shortcodes in post content” and keep it at 1 document and continue indexing again. If it works, change to whatever number you want (I do it in chunks of 400) and if it redirects or errors out, repeat those steps to get past each of the pages that redirects. Eventually you’ll get it all indexed.

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    chrisvallleyoc Per the forum welcome can you please post your own topic?

    This topic is 10 months old and a lot has changed in that time.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem building index (redirects)’ is closed to new replies.