Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Did you manage to get your template content searchable? How'd you go about it? –  boscho Apr 25 '13 at 23:34

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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