Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8408037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:31:57+00:00 2026-06-09T23:31:57+00:00

I am an asp.net developer working on a sitecore based site, our sitecore expert

  • 0

I am an asp.net developer working on a sitecore based site, our sitecore expert is on holiday at the moment and sitecore seems to be doing something that I don’t understand.

I need to dynamically add meta tags to the page header so I added runat=”server to the head tag as below

<head runat="server">

This works and allows me to do what I need to do, however there is a strange side effect, it adds an empty <title></title> tag to the header and I can’t work out how and why this is happening. We currently have a site wide static title so we end up 2 title tags which is annoying. However we intend to start setting the page title dynamically soon so guess I want to know 2 things?

Why/how is is this happening?

Is it something that can easily be hooked into to set the page title dynamically based on the value of a sitecore field?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:31:59+00:00Added an answer on June 9, 2026 at 11:31 pm

    From what I know it’s a known asp.net issue (feature?).
    You can add a hidden title tag runat server to the head, to avoid creating additional empty title tag, e.g.:

    <title visible="false" runat="server"><%-- I'm necessary here, do not remove me --%></title>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a developer working on an ASP.Net Web Application that uses forms authentication.
For the last 4 years I have been working as an ASP.NET developer in
I am a new ASP.NET developer and I am developing a web-based suggestions box
As an ASP.NET developer, I'm used to working with how VS/C# transparently autogens proxy
I'm an ASP.NET developer, and I usually find myself leaving the webpage that I'm
I am a brand new Java developer (I have been working in asp.net) and
For a developer who likes working in ASP.NET/Web forms, would anyone recommend going towards
I am an amateur ASP.net developer working on my first job (a friends website).
I am mostly an ASP.NET developer but I am working on a WinForms app
I'm an ASP.NET/C# developer and I've been working on this area for two years.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.