Solved

Removing GENERATOR meta tag in EW - invalid code

Posted on 2012-04-03
3
668 Views
Last Modified: 2013-11-19
I load an old site in EW. It has a large number of pages. It was initially developed in FP.

Now I'm trying to remove the tag
<meta name="GENERATOR" content="Microsoft FrontPage 12.0">
using Find and Replace > HTML Tags tab, where I set the Replace action to "Remove tag". Then I press the Replace button, and get this error:

"A replacement would result in invalid HTML and cannot be completed" - why invalid?

Current code looks like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
     <title>title1</title>
     <meta name="GENERATOR" content="Microsoft FrontPage 12.0">
     <meta name="ProgId" content="FrontPage.Editor.Document">
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta http-equiv="Content-Script-Type" content="text/javascript">
</head>
0
Comment
Question by:campinam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Tina Clarke earned 500 total points
ID: 37803949
sounds like you might be just removing a tag not the text...

use the Replace tab not the HTML Tags tab

Put in the find your meta tag and the replace leave it blank ... test it on the current page then use the replace all.

You should always back up your site before doing anything major.

See the tutorial I wrote as a starter for migrating on here.

http://www.experts-exchange.com/Web_Development/Software/Expression_Web/A_2840-Migrating-from-FrontPage-to-Expression-Web.html

Tina
0
 

Author Comment

by:campinam
ID: 37803975
I'm trying to remove the tag
<meta name="GENERATOR" content="Microsoft FrontPage 12.0"> using...

1.  Find and Replace > HTML Tags tab
2. tag is meta
3. rule "with attribute name=GENERATOR"
4. replace action is "Remove tag"

This tag has no text... What am I doing wrong?
0
 

Author Comment

by:campinam
ID: 37804075
Figured that... remove action should be  "Remove tag and contents". Thanks, Tina.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I Enable submit button only if listbox has items 4 60
title attribute 5 33
Add Rows on a Table 8 47
Save data in two Database, Asp 2 66
Find out what you should include to make the best professional email signature for your organization.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question