?
Solved

Removing GENERATOR meta tag in EW - invalid code

Posted on 2012-04-03
3
Medium Priority
?
678 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 2000 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

800 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