Dears , i was reading this post about adding the meta tags dynamically by code in asp.net 4 – but i need to ask what is the good for SEO , adding it static or no problem with adding it in code behind
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The SEO aspect is simply that of having meta tags that accurately represent the page. The search engines have no way of telling if they were added statically or dynamically and don’t really care about that aspect.
The addition of the
MetaKeywordsandMetaDescriptionto the Page class is to simplify dynamic creation of these meta tags – for example if these come from a database, with the rest of the page content.In earlier versions, one was forced to create literal controls or other ways to generate dynamic meta tags.