Solved

Removing GENERATOR meta tag in EW - invalid code

Posted on 2012-04-03
3
626 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now