Click here to Skip to main content
15,891,679 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi I create a cms that news saved in database but how search engines find my news in database if they find it they could find username and passwords in my db?
how to optimize my news to indexed by search engines
i use asp.net and sql server 2008 and i read news in DB and show it on news page.
thanks
Posted
Comments
[no name] 1-Aug-12 12:26pm    
Not sure what you asking or how it relates to a programming question, but search engines are not reading your "news" from your database so no they are not finding user names or passwords in there either.
Behnam Mohammadi 1-Aug-12 13:59pm    
what solution for this i want search engines index my news.
what i do?
[no name] 1-Aug-12 14:07pm    
You would use meta tags in your HTML. But first have to get the search engines to even know that your site exists.
Behnam Mohammadi 1-Aug-12 14:47pm    
I have One aspx page and all news generate in it dynamic now how set meta tag in it for each news?
[no name] 1-Aug-12 14:49pm    
Well if it were me, I would generate the tags dynamically at the same time that my news items were created.

1 solution

If your data is in a DB and hidden behind a login, then why do you want people to find it ? If they can find it, it's in their cache and non-logged in users can see it.
 
Share this answer
 
Comments
Behnam Mohammadi 1-Aug-12 17:14pm    
no i want only search engines index news in table news
no other tables.
Christian Graus 1-Aug-12 17:16pm    
A search engine cannot see your DB, nor can it see inside your password protected site. In any case, people who have no login, will be able to see the cached version, if you could do it. It needs to live outside your password protected area.

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