Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Optimizing a .Net Dynamic website

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.

The Rule #1

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

Premium Members

Latest Comments

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom