dwt. DELETING my Meta Tags!

B

Brian

I'm using the Dynamic Web Template function, and have
attached pages accordingly. When I setup my meta tags on
the individual pages, it saves them just fine. However,
if I change my .dwt and update the changes across the
other pages, it removes my meta tag fields on the
individual pages! Any help?
 
J

John Jansen \(MSFT\)

I think that if you move the following line of code from below your meta
tags to just before them, then save the page, this won't happen anymore:

<!-- #BeginEditable "doctitle" -->
 
J

Jim Cheshire

Brian,

By default, Meta tags are not in an editable region. Therefore, when you
change the meta tags in your individual pages, it doesn't "keep" when you
change the DWT.

To correct that, open your .dwt file and make a change in the code for the
meta tags as follows:

Change it from this:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">

To This:

<head>
<!-- #BeginEditable "metatags" -->
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<!-- #EndEditable -->

Now when you go into code view on your individual pages, you'll see that the
meta tags are editable, and any changes you make will stay.

--
Jim Cheshire
Jimco Add-ins
http://www.jimcoaddins.com
===================================
Buy my book!
Special Edition Using Microsoft FrontPage 2003
Don't take my word for it. Read the reviews!
===================================
Our newest add-in:
FrontPage Cart Companion
http://www.frontpagecartcompanion.com
 
G

Guest

THANKS Jim!!!! That is EXACTLY what I needed!!

-----Original Message-----
Brian,

By default, Meta tags are not in an editable region. Therefore, when you
change the meta tags in your individual pages, it doesn't "keep" when you
change the DWT.

To correct that, open your .dwt file and make a change in the code for the
meta tags as follows:

Change it from this:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">

To This:

<head>
<!-- #BeginEditable "metatags" -->
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<!-- #EndEditable -->

Now when you go into code view on your individual pages, you'll see that the
meta tags are editable, and any changes you make will stay.

--
Jim Cheshire
Jimco Add-ins
http://www.jimcoaddins.com
===================================
Buy my book!
Special Edition Using Microsoft FrontPage 2003
Don't take my word for it. Read the reviews!
===================================
Our newest add-in:
FrontPage Cart Companion
http://www.frontpagecartcompanion.com





.
 

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