Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Wondering if there's a way to edit our search.php or .htaccess or function.php (or anything else...) so that our search function on our main site (www.oursite.com) includes the subdomain of blog.ourwebsite.com?

Any thoughts or suggestions are appreciated it..

share|improve this question
1  
Your search function would have to access WordPress's database, which certainly is possible, but I don't think I can give real answer without more information. – s_ha_dum Feb 1 at 21:42
Thank you for your input - what sort of information would you need? I believe there are currently two wordpress databases set up (done by someone else) - one for the main site, one for the blog. I do have the database name/users/pw for both if needed? – E P Feb 4 at 19:36
Are both sites WordPress? What does search.php look like? How good are you at SQL and PHP? – s_ha_dum Feb 4 at 19:39
I can pick through it as needed, and figure out minor fixes and such as needed - but that's about it. dropbox.com/s/btgelwqqvds7un4/search.php.zip – E P Feb 4 at 20:59
Yes - both sites are Wordpress. – E P Feb 4 at 21:02

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.