2

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
  • Did you manage to get your template content searchable? How'd you go about it?
    – bosco
    Commented Apr 25, 2013 at 23:34

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.