Template Page Content Made Searchable

I’m migrating a client site over to a WordPress CMS. I made templates for each of the pages that would have static content: about us, facility, FAQs, etc.

The problem is that this content seems to be unsearchable (if that’s the right term). Is there an easy way to make this content available to an internal (not Google.com) search query (along with the rest of the content that is available on a blog)?

Should I have put this stuff (the copy) into the content editor and accessed it with the_content()? Is that the best way?

As I’m finishing this I’m getting that “duh” feeling, but I’ll post it anyway in case there are other ways that might help others doing the same.

Thanks very much.

1 Answer
1

By default WordPress cannot search in template content. You should import your content into the data base. The plugin HTML Import 2 will help here.

Another option is a separate search engine with a parser that can read the complete HTML output. The plugin Search Unleashed for example supports Apache Lucene. That’s probably too much for a small site or anyone not very experienced with Java.

Leave a Comment