• Resolved jordanwarner

    (@jordanwarner)


    Hi all, thanks for this great plugin.

    Having an issue where search results that definitely seem like they should be included are not appearing. For example, a query of “homeownership” returns 0 results, despite the fact that I have an entire section of a page called “homeownership” which uses the word multiple times.

    I originally had this issue with the default WP search, then installed Relevanssi hoping it might fix the issue. No luck. I’m using a child theme of the Camyno theme, so perhaps the theme is overriding the default search? I didn’t see any dreaded query_posts() in my search form either.

    Here are pastebins for the relevant files:
    http://pastebin.com/7xW9pGn5 (search.php)
    http://pastebin.com/J3DxZbsF (/inc/content/before-search.php)
    http://pastebin.com/AveQDu6L (/inc/loops/search.php)

    You can try out the search yourself by clicking the search icon in the top right of this page:
    http://www.bhaindiana.net/
    (FAQ results seem to be pulling in no problem, but other obvious queries don’t work, such as “homeownership”, “veterans”, “utility assistance”, “section 8 waitlist”, etc.)

    Thanks so much in advance for any help!

    https://wordpress.org/plugins/relevanssi/

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

    (@msaari)

    Hmm, looks like the page http://www.bhaindiana.net/housing-programs/hcv-section-8/ is not being indexed at all. I’d start by checking the indexing settings.

    Thread Starter jordanwarner

    (@jordanwarner)

    Hi Mikko, thanks very much for the help.

    I just re-checked my indexing options and they appear to be set correctly, but I’m not very experienced with this plugin so I could be missing something. “Pages”, “posts”, “FAQ” (custom post type) are all set to be indexed and I have built the index.

    If you just type in “hcv” for example, the page you listed above will be found in search results. But if you type in “homeownership” or other common phrases, I get nothing.

    Can you advise for next steps? I’m happy to paste a screenshot of my settings if that would be helpful or if there’s a certain setting I should check, that’s fine also.

    As a reminder, I wasn’t getting these results even before I installed Relevanssi, so I’m concerned the theme may be bypassing the typical WordPress search or something?

    Thanks again for the help and time on this plugin. It is appreciated.

    Plugin Author Mikko Saari

    (@msaari)

    Are you using plugins to create the page content? Is the page content just as normal page content you can edit in the post edit screen, or are you using some kind of content management plugin? That would explain why the post content is not available.

    Thread Starter jordanwarner

    (@jordanwarner)

    Hi Mikko,

    Yes, I was wondering about this. The theme uses a “page builder” to make content management easier for the client (drag and drop modules, layout managing, etc. – for a screenshot of the page builder, see this – http://camyno.wpengine.com/hello/#page-builder ).

    The content is all built in the page builder, as opposed to the default WP text editor. Oddly though, some of the pages built this way still seem to show in the search results, but most do not. I have a request into theme support as well, but no reply so far. I imagined this content would still be found in the database since it’s still within the typical “page” post type, and the theme has a default search feature (which would be silly if content built with the page builder can’t be searched)… but who knows.

    Hope that’s helpful info. Again, really appreciate the help.

    Plugin Author Mikko Saari

    (@msaari)

    Well, can’t say for sure without checking this closer, but I think the page builder is the cause of the problem here.

    What does the page builder content look like if you use the plain text editor to look at it? Is it inside shortcodes, for example? That may cause problems, and if some of the shortcodes are problematic while others are not, that may well explain why some of the content is available and some is not. Also it would explain why the default search works, because the default search completely ignores shortcodes.

    What’s your shortcode setting in Relevanssi settings?

    Thread Starter jordanwarner

    (@jordanwarner)

    Hi again,

    Unfortunately I don’t have access to the plain text editor at all if the “page builder” is enabled. Basically the theme lets me choose between the standard WP editor (w/ visual & text tabs), or the “page builder”, in which case I can no longer access the text tab at all.

    Your theory could very well be correct, but I don’t think I can test it. I’m not sure if this is what you’re referring to, but I have “expand shortcodes in post content” checked in Relevanssi settings. Is this the shortcode you’re referring to?

    I don’t use a shortcode to call Relevanssi at all on any of my pages/posts – I assumed it kicked in automatically once the plugin was installed? Perhaps I have my setup wrong?

    Appreciate the help.

    Thread Starter jordanwarner

    (@jordanwarner)

    (sorry, posted twice by accident)

    Thread Starter jordanwarner

    (@jordanwarner)

    OK, I was able to speak with the theme author and found out that this problem is indeed caused by the page builder. They are working on a fix, but in the meantime (in case anyone else has a similar issue) suggested a workaround wherein I type a list of keywords in the default WP editor before enabling the page builder. Then, prior to saving/publishing, I switch to the page builder and then build the page. The initial list of keywords is retained in the database, and though not visible to the public, it gives the search engine the info it needs to at least return semi-relevant results.

    Thanks for your help again Mikko. I should be good to go from here on out.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Page Content Not Being Indexed’ is closed to new replies.