Meta Tags and Templates Description Key Words


C

chill888

Hi,

I'm using FP 2003 with dynamic templates. My problem is that everytime
I update the template, it changes/overwrites the Meta Tags on all the
pages linked to the template. How do I create page specific Meta Tags
for pages linked to DWTs?

Thanks and regards,

(e-mail address removed)
 
Ad

Advertisements

T

Tina Clarke

chill888 said:
Hi,

I'm using FP 2003 with dynamic templates. My problem is that everytime
I update the template, it changes/overwrites the Meta Tags on all the
pages linked to the template. How do I create page specific Meta Tags
for pages linked to DWTs?

Thanks and regards,

I suggest you have a read of the two part article below

http://www.outfront.net/tutorials_02/fp_techniques/dwt-1.htm
http://www.outfront.net/tutorials_02/fp_techniques/dwt-2.htm

I've snipped the relelvent part for you, (see below) it's very easy to do.

Let me know if this helps

Tina

Tip now out is: THUMBS.DB AND FRONTPAGE
http://frontpage-tips.com/ - FrontPage Tips
They are primarily for FrontPage 2003 but will be good
for earlier versions too.
FrontPage will, by default add the following code to the title tag in Code
View.

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

<title>Page Title Here</title>

<!-- #EndEditable -->

Copy the editable code in Code View and encase it around the Keywords and
Description Meta tags, it should look like the following.

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

<title>Page Title Here</title>

<!-- #EndEditable -->

<!-- #BeginEditable "keywords" -->

<meta name="KEYWORDS" content="site keywords here">

<!-- #EndEditable -->

<!-- #BeginEditable "description" -->

<meta name="DESCRIPTION" content="site description here">

<!-- #EndEditable -->

This will preserve keywords and descriptions you ALREADY have in place on
your pages. If you want to change your title, keywords or descriptions you
can right click on the page and choose Page Properties or go to Code View
and do it manually.

WARNING: With a page that has a DWT attached you must not use FrontPage Meta
Tag addons to APPLY your tags, as they will change the editable regions
coding of the meta tags and the FrontPage DWT will assume you are trying to
change this and ask you to save or restore. You want to in fact keep your
original code with the editable meta tags around the meta's. Of course you
can use the Addons as a tool and copy and paste meta tag to code view or in
page properties General Tab for each Meta. The developers know about this
problem and are working to provide updates.

~ Scripts such as _JavaScript (scripting)
If you have any scripts within the head tags when you first attach a dwt to
a page it won't be preserved. So you must save it to a notepad file, attach
the dwt to a page, and then reinsert your script, thereafter it will be
applied to any subsequent attachments. Put the following code around each of
your scripts in the head tag.

<!-- #BeginEditable "scripting" -->

<!-- Scripting area here -->

<!-- #EndEditable -->

This is really useful for _JavaScript menus. Using these menus with a dwt
saves you a lot of time. There are issues however be sure to see the *
Troubleshooting section.

~ ASP Pages
It is best to avoid attaching a dwt to a page with ASP code on it, though
you can attach to a .asp page that does not have asp coding on it.
 
R

Ronx

On the DWT place the meta tags in editable regions. Then when you update
the DWT and the pages, those meta tags will not be touched in the pages.

<head>
<!-- #BeginEditable "DocTitle" -->
<title>Title here</title>
<!-- #EndEditable -->

<!-- #BeginEditable "DocDescription" -->
<meta name="description" content="Description here">
<!-- #EndEditable -->

<!-- #BeginEditable "DocKeywords" -->
<meta name="keywords" content="keywords here">
<!-- #EndEditable -->

</head>
 
C

chill888

Hi Ronx,

Thanks for helpful response. Do the meta tags have to be in the <head>
region to work? Or will any editable region work?
 
T

Thomas A. Rowe

They have to be in the head section of your pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Ad

Advertisements

R

Ronx

They must be in the <head> section. They can be grouped into one editable
region in the <head>.
 
Ad

Advertisements


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