Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to search for a particular word in our web site,
ie search for the word in all pages and if found direct to that page.
thank you
Posted
Comments
Keith Barrow 21-Jul-11 7:29am    
Is the site content static or dynamic. If dynamic, where do you store it (database etc)? - This has a bearing on the answer!
[no name] 21-Jul-11 8:21am    
Perfect....
Sergey Alexandrovich Kryukov 21-Jul-11 11:25am    
Good answer. Can I up-vote it? :-)
--SA

1 solution

If you store it in your DB, you can search the DB. if your content is not in a DB, your best bet is to use google, using site:www.mysite.com to get it to search your site only.
 
Share this answer
 
Comments
saj_21 29-Aug-11 8:10am    
Do i need to purchase a domain and web space from www.mysite.com or i can buy it from any other web hosting company.Can you please explain in brief "How to use google to get it search in my site only."
Thanks in advance. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900