Author Topic: Adding meta keywords to content pages  (Read 314 times)

Offline gswan

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Adding meta keywords to content pages
« on: November 10, 2017, 12:39:34 AM »
Is there a way of adding a meta "keywords" tag to the content pages?

The keywords setup in the admin interface appear nicely on the home page, however I was hoping to add further keywords to various content pages, separately from those on the home page. 
I cannot see a way of doing this in the admin interface, and checking the resulting source of the page when rendered, there is no meta tag for keywords present.

Any advice appreciated.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3253
  • Karma: +156/-0
    • View Profile
Re: Adding meta keywords to content pages
« Reply #1 on: November 10, 2017, 12:50:55 AM »
Valid point we will add in next version
“Chuck Norris is so amazing.”
― Mother Teresa

Offline jackluter

  • Newbie
  • *
  • Posts: 10
  • Karma: +2/-0
  • Hi am jack
    • View Profile
    • Mobile app development New York
Re: Adding meta keywords to content pages
« Reply #2 on: November 28, 2017, 06:22:06 AM »

For SEO purpose Meta tags are very important. If we are using master pages then we need to add meta tag on content pages one by one. To add meta tag on content page, we need to add below code on page load.

    protected void Page_Load(object sender, EventArgs e)
            Page.Titl="Title of page";

            HtmlMeta tag = new HtmlMeta();
            tag.Name = "description";
            tag.Content = "description of page";

            HtmlMeta tagKeyword = new HtmlMeta();
            tagKeyword.Name = "keywords";
            tagKeyword.Content = "keywords of page";
            Header.Controls.Add(tagKeyword );


If we want to same Meta keyword, Meta description in all pages of a master page, then we will enter same in all master page.

We can enter that in html section after title tag and before closing of title tag:

<metaname="Description" content="description of page" />

<metaname="Keywords" content="keywords of page" />

P.S: Master page of content file can be seen in html of content page. In page tag,  MasterPageFile

<a href=""> mobile app development company USA </a>