ArrowNuke DotNetNuke Custom Modules Skins and training Home | Site Map | Google Site Map | Login | Register
Arrow Nuke Dot net Nuke Custom DNN Modules DotNetNuke Skinning and training
ArrowNuke DoNtetNuke Custom DNN Modules DotNetNuke Skinning and training
Please Note: Only registered users can post to this forum. To register, use the link a the top of this page.
 
  ArrowNuke DotNetNuke Forum  DotNetNuke Supp...  DotNetNuke Prem...  Meta Information
Previous Previous
 
Next Next
New Post 11/16/2006 1:32 PM
  Koki
19 posts
No Ranking


Meta Information 
Is there a way to control/force the order in which the META tags appear?

Currently my site is displaying:
1- Description;
2- Keywords;
3- Title

I need to invert this order to Title, Keywords, Description
 
New Post 11/20/2006 6:09 PM
  Ryan Morgan
1 posts
No Ranking


Re: Meta Information 

Hi Koki,

It looks like i am having problems getting email from this site - I'll check on that. In the mean time, let's answer your question.

The meta tags are layed out in the default.aspx which only Eric will have access to edit. If you ask Eric to do it - he will only need to edit one file and the change will be universal.

Thanks,

R

 
New Post 12/4/2006 6:42 PM
  Eric from ActionOnline
2 posts
www.actionOnline.cc
No Ranking


Re: Meta Information 

Hi Ryan,

Default.aspx has lines for description, keywords and others. I an order these no problem, but there seems to not be one for TITLE.

Here are all the "server side" meta tags:

    <meta id="MetaRefresh" runat="Server" name="Refresh" />
    <meta id="MetaKeywords" runat="Server" name="KEYWORDS" />
    <meta id="MetaDescription" runat="Server" name="DESCRIPTION" />
    <meta id="MetaCopyright" runat="Server" name="COPYRIGHT" />
    <meta id="MetaGenerator" runat="Server" name="GENERATOR" />
    <meta id="MetaAuthor" runat="Server" name="AUTHOR" />

Would you be able to let us know where the TITLE order can be set?

Thanks,

Eric.

 
New Post 12/5/2006 10:38 AM
  Ryan Morgan
1 posts
No Ranking


Re: Meta Information 

Hi Eric,

If you open the default.aspx file in the root of your instance, look for the following text:

<TITLE>
   <%= Title %>
  </TITLE>
  <%= Comment %>

  <META NAME="DESCRIPTION" CONTENT="<%= Description %>">
  <META NAME="KEYWORDS" CONTENT="<%= KeyWords %>">
  <META NAME="COPYRIGHT" CONTENT="<%= Copyright %>">
  <META NAME="GENERATOR" CONTENT="<%= Generator %>">
  <META NAME="AUTHOR" CONTENT="<%= Author %>">

Then, add the following line:

  <META NAME="TITLE" CONTENT="<%= Title %>" />

Because that dynamic Title region is using inline code to access a public property of the code-behind, you can add it another time and youa re all set.

Your final HTML code should look like this:

<HEAD id="Head">
  <TITLE>
   <%= Title %>
  </TITLE>
  <%= Comment %>
  <META NAME="TITLE" CONTENT="<%= Title %>" />
  <META NAME="DESCRIPTION" CONTENT="<%= Description %>">
  <META NAME="KEYWORDS" CONTENT="<%= KeyWords %>">
  <META NAME="COPYRIGHT" CONTENT="<%= Copyright %>">
  <META NAME="GENERATOR" CONTENT="<%= Generator %>">
  <META NAME="AUTHOR" CONTENT="<%= Author %>">
  <META NAME="RESOURCE-TYPE" CONTENT="DOCUMENT">
  <META NAME="DISTRIBUTION" CONTENT="GLOBAL">
  <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
  <META NAME="REVISIT-AFTER" CONTENT="1 DAYS">
  <META NAME="RATING" CONTENT="GENERAL">
  <META HTTP-EQUIV="PAGE-ENTER" CONTENT="RevealTrans(Duration=0,Transition=1)">

...

 
Previous Previous
 
Next Next
  ArrowNuke DotNetNuke Forum  DotNetNuke Supp...  DotNetNuke Prem...  Meta Information

2006 Arrow Consulting & Design, Inc   Terms Of Use  Privacy Statement