Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Optimizing a .Net Dynamic website

  • Thread starter Thread starter cools4u
  • Start date Start date
Status
Not open for further replies.
C

cools4u

One issue which is faced while optimizing a Dynamic website is: how to optimise a website having Master and Child Pages...

Here is a solution which I find below : just add the server tags accordingly in master and child pages.

Add below text in master page:

<head>
<asp:contentplaceholder id="seo" runat="server" />
</head>


Add below text in all child pages which used above mentioned Master page:


<asp:content id="childseo" runat="server" ContentPlaceHolderID="seo" >
<meta name="keywords" content="enter your content here" />
<meta name="description" content="enter your content here" />
</asp:content>
<asp:content>...other content to design or code child page...</asp:content>
 
huh? I do .net sites as my day to day job. Do you want to make your sites more SEO friendly?

the way you suggest is one way to deal with the header content - then other would be to bind the data as the page is created. But I kind of like the way you demo'd. How many pages are on the site? Do you need to pull the data from a database?
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom