Site logo

Archived topic

Search not searching static page?

10 replies · Started by Morag on May 10, 2016

Viewing posts 1–11 of 11

Hi Tom,

I've got a large static page which never comes up when I use the search function. Posts come up, the other static page (Home) comes up, but not the static page I really need it to search which has multiple links to pdfs.

Any thoughts on why this might be happening?

Cheers,

Morag

Hmm hard to tell, GP doesn't do anything with the search function - it's all WP.

Does the keyword you're searching appear in the body content of the page?

yes

If it's all Wordpress and not GeneratePress, I guess I'm looking at a plug-in then. Any suggestions?

Any chance you can link me to the site and the page that isn't being indexed in search?

Sorry, it's locally hosted at the moment. I could do screenshots. What did you want to see?

Just wanted to check out the content etc..

Hard to tell what's going on, the search field looks into the post content, so if the keyword exists it should work.

Maybe try deactivating your plugins to see if it's a plugin issue?

I think it's not searching parts that are in sections (of pages). I had a huge page of raw words I was working on before splitting it into sections to improve readability. It could find something in the huge page, but not when I made a new page with sections containing the same text. (I installed the Search Everything plugin.)

Turn Sections off on the page, then click "Send sections to default editor".

Then turn Sections back on and save.

That should make your content searchable.

Thanks, Tom, looks like that fixed it.

Awesome :)

This archived topic is closed to new replies.