 |
|
|
|
 |
|
 |
|
|
|
 |
|
 |
 |
|
 |
 |
|
|
Please Note: Only registered users can post to this forum. To register, use the link a the top of this page.
 | SearchForum Home |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
|
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 |
|
|
|
 |  |
|
|
|
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 |
|
|
|
 |  |
|
|
|
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. |
|
|
|
 |  |
|
|
|
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)">
... |
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|
|
|
2006 Arrow Consulting & Design, Inc
Terms Of Use Privacy Statement
|
 |
 |
 |
 |
 |