Converting from Shared Borders to DWT removed meta tags?!?

L

Larry Kahm

I just spent an hour converting a copy of my web site from using shared borders to using DWTs.

I followed the KB article and it really was simple and easy-to-do.

However, when I reviewed what actually got generated for each of my pages, I was confused.

The keyword and description meta tags (which had been carefully designed and placed on each page)
was completely missing.

Now, I was working on a copy of the site so I didn't lose any code/work - but, is this "working as
designed?"

If so, shouldn't Microsoft indicate that it is going to clean house when it puts in the DWT code?

If it is not working as it should, does anyone know of the process to follow to ensure the meta tags
stay where they're supposed to?

Thanks!

Larry
 
R

Ronx

It's working as designed. When you apply a DWT to a page every part of the
page that is not in an editable region is replaced with whatever is in the
DWT.
In the <head> section of a DWT the only tag that is in an editable region by
default is the <title> tag. When a page is updated with the DWT the
existing <title> tag is retained (editable region) but all other meta tags
are replaced or removed.

"Cleaning house" is implied by the use of non-editable areas - these are
fixed by the content of the DWT.

The solution to retaining existing <meta tags is to place them in editable
regions, along with the <title> tag, in the DWT.
 
L

Larry Kahm

Thank you Ron,

Your explanation makes sense and now leads to the inevitable question:

Previously, each page had its own set of keywords and description text (I know they are not
necessarily used by search engines, but they help me make sure my page content matches the page's
purpose); how can I incorporate these different tags into a standard, top-of-page DWT?

Larry

It's working as designed. When you apply a DWT to a page every part of the
page that is not in an editable region is replaced with whatever is in the
DWT.
In the <head> section of a DWT the only tag that is in an editable region by
default is the <title> tag. When a page is updated with the DWT the
existing <title> tag is retained (editable region) but all other meta tags
are replaced or removed.

"Cleaning house" is implied by the use of non-editable areas - these are
fixed by the content of the DWT.

The solution to retaining existing <meta tags is to place them in editable
regions, along with the <title> tag, in the DWT.
 
S

Stefan B Rusynko

Wrap each as an editable region

<!-- #BeginEditable "doctitle" -->
<title>Your page Title</title>
<!-- #EndEditable -->
<!-- #BeginEditable "keywords" -->
<meta name="keywords" content=" ">
<!-- #EndEditable -->
<!-- #BeginEditable "description" -->
<meta name="description" content=" ">
<!-- #EndEditable -->

--




| Thank you Ron,
|
| Your explanation makes sense and now leads to the inevitable question:
|
| Previously, each page had its own set of keywords and description text (I know they are not
| necessarily used by search engines, but they help me make sure my page content matches the page's
| purpose); how can I incorporate these different tags into a standard, top-of-page DWT?
|
| Larry
|
| It's working as designed. When you apply a DWT to a page every part of the
| page that is not in an editable region is replaced with whatever is in the
| DWT.
| In the <head> section of a DWT the only tag that is in an editable region by
| default is the <title> tag. When a page is updated with the DWT the
| existing <title> tag is retained (editable region) but all other meta tags
| are replaced or removed.
|
| "Cleaning house" is implied by the use of non-editable areas - these are
| fixed by the content of the DWT.
|
| The solution to retaining existing <meta tags is to place them in editable
| regions, along with the <title> tag, in the DWT.
|
| --
| Ron Symonds (Microsoft MVP - FrontPage)
| Reply only to group - emails will be deleted unread.
|
|
| | >I just spent an hour converting a copy of my web site from using shared
| >borders to using DWTs.
| >
| > I followed the KB article and it really was simple and easy-to-do.
| >
| > However, when I reviewed what actually got generated for each of my pages,
| > I was confused.
| >
| > The keyword and description meta tags (which had been carefully designed
| > and placed on each page)
| > was completely missing.
| >
| > Now, I was working on a copy of the site so I didn't lose any code/work -
| > but, is this "working as
| > designed?"
| >
| > If so, shouldn't Microsoft indicate that it is going to clean house when
| > it puts in the DWT code?
| >
| > If it is not working as it should, does anyone know of the process to
| > follow to ensure the meta tags
| > stay where they're supposed to?
| >
| > Thanks!
| >
| > Larry
| >
| >
|
|
|
 
L

Larry Kahm

And this means going back to edit each page, add these tags, and copy and paste the text from the
back-up.

Thanks! What a fun afternoon I'm going to have - all in the name of the latest FP functionality...

Larry

Wrap each as an editable region

<!-- #BeginEditable "doctitle" -->
<title>Your page Title</title>
<!-- #EndEditable -->
<!-- #BeginEditable "keywords" -->
<meta name="keywords" content=" ">
<!-- #EndEditable -->
<!-- #BeginEditable "description" -->
<meta name="description" content=" ">
<!-- #EndEditable -->

--




| Thank you Ron,
|
| Your explanation makes sense and now leads to the inevitable question:
|
| Previously, each page had its own set of keywords and description text (I know they are not
| necessarily used by search engines, but they help me make sure my page content matches the page's
| purpose); how can I incorporate these different tags into a standard, top-of-page DWT?
|
| Larry
|
| It's working as designed. When you apply a DWT to a page every part of the
| page that is not in an editable region is replaced with whatever is in the
| DWT.
| In the <head> section of a DWT the only tag that is in an editable region by
| default is the <title> tag. When a page is updated with the DWT the
| existing <title> tag is retained (editable region) but all other meta tags
| are replaced or removed.
|
| "Cleaning house" is implied by the use of non-editable areas - these are
| fixed by the content of the DWT.
|
| The solution to retaining existing <meta tags is to place them in editable
| regions, along with the <title> tag, in the DWT.
|
| --
| Ron Symonds (Microsoft MVP - FrontPage)
| Reply only to group - emails will be deleted unread.
|
|
| | >I just spent an hour converting a copy of my web site from using shared
| >borders to using DWTs.
| >
| > I followed the KB article and it really was simple and easy-to-do.
| >
| > However, when I reviewed what actually got generated for each of my pages,
| > I was confused.
| >
| > The keyword and description meta tags (which had been carefully designed
| > and placed on each page)
| > was completely missing.
| >
| > Now, I was working on a copy of the site so I didn't lose any code/work -
| > but, is this "working as
| > designed?"
| >
| > If so, shouldn't Microsoft indicate that it is going to clean house when
| > it puts in the DWT code?
| >
| > If it is not working as it should, does anyone know of the process to
| > follow to ensure the meta tags
| > stay where they're supposed to?
| >
| > Thanks!
| >
| > Larry
| >
| >
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top