Posts

Showing posts from February, 2010

ASP.NET MVC Master Page – Add Title and Meta tags to content pages (SEO)

Solution:  Add a ContentPlaceHolder in the tag of the Master page, add the universal Title and Meta tags that may apply to each page using the master page. Override this ContentPlaceHolder in the content pages using the Master page and add the page specific Title and Meta tags in this section as shown below in the blog. MasterPage.master  <-- head --> < asp : ContentPlaceHolder ID ="TitleContent" runat ="server"> < title >Master Page Title title > < meta name ="keywords" content ="Cachinko, Career Networking, Social Networking, Job Search, Boost Employee Referral Program, Find Passive Candidates " /> < meta name ="description" content ="Cachinko is a career networking tool that helps Employers network securely with their employees and reduce recruiting costs by efficiently utilizing the Employee Referral Program." />   asp : ContentPlaceHolder > <-- /head --> Page.aspx