Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

CityDesk Meta Tag

How can I remove the MetaTag which states the site was generated by CityDesk

SW
Friday, June 04, 2004

Generate the site edit the resulting pages and remove the tag.

John

john Cesta
Friday, June 04, 2004

There is an easier way...rename the template extension(s) to something other than .html (e.g. ".cfm" -> in Template -> Properties) and CD will not include those metatags. They will still be "HTML pages" and be rendered in the browser...careful to use this method with the index article, though.

Patrick Thomas
http://www.telepark.de

PS: Don't do that with the VANTAA or upcoming HAAPAVESI Wizards though...they don't like that :-)

Patrick Thomas
Friday, June 04, 2004



Just that if you name them cfm you will need the cfm server installed on your web server. And you will be putting all your static pages thru the cfm server. As well as if you name them asp they will have to go thru the asp filter.

Unless you set your IIS to render cfm as html pages.

But, that is a solution.

John

john Cesta
Friday, June 04, 2004

Good point concerning .cfm and .asp as extensions and how your webserver might treat them...but to the browser, you can rename the extension ".donaldduck" - makes no difference as the extension doesn't really mean anything.

Regards

Patrick Thomas
http://www.telepark.de

Patrick Thomas
Saturday, June 05, 2004

Ultimate point is: yes, while you can name a file anything you want and the browser won't care the browser isn't going to get that file cause the server cares and won't resolve the file.

:)

John

john Cesta
Saturday, June 05, 2004

So, if you really want to get rid of the meta tags, you can change your template extension to, say, "htmlx".  Then you need to run a post publish script to convert all of your ".htmlx" files to ".html".  Am I getting this right? 

Joel Goldstick
Monday, June 07, 2004

Joel, you'd also need to fix up all the links between pages in your site. That involves doing a search and replace on each html file, changing .htmlx to .html.

Darren Collins
Monday, June 07, 2004

Just to be clear, I meant a search-n-replace *inside* each html file to fix up all the hrefs.

Darren Collins
Tuesday, June 08, 2004

Darren, very good observation.  That makes it quite a bit more work.  Well, it seemed like a nice idea for a moment!

joel goldstick
Wednesday, June 09, 2004

*  Recent Topics

*  Fog Creek Home