Announcement

Collapse
No announcement yet.

Possible Bad Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Possible Bad Code

    Hi All

    I have a client who has asked me to look at a problem he has in optimising his website
    All pages have been optimised and work ok. On his home page he cannot put in his Meta Data ie discription tag and keywords. He has some code on the home page <META NAME="ACTINICTITLE" CONTENT="thesitemaster&#46;co&#46;uk"> that he does not recognise, it will not delete and he feels this is bad code and responsible for his problems. He is using Version 6

    Is it and if so how does he remove it

    Richard H

    #2
    Welcome, Richard

    Actinic V6 uses Templates (probably Act_BrochurePrimary.html) for the home page. This should start.
    Code:
    <!-- BrochurePrimary HTML begin -->
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
       <TITLE>NETQUOTEVAR:PAGETITLE</TITLE>
       <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF" FORCED=NETQUOTEVAR:BASEHREFFORCED/>
       <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
       <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
       <!--@act NETQUOTEVAR:HEADERMETA -->
       <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
       <!--@act NETQUOTEVAR:LOADFUNCTION -->
    
    <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
    </HEAD>
    It's probably OK to remove the <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER"> line, but all others should be left in place. That ACTINICTITLE line is harmless and is unlikely to be a cause of any problems.

    If you double-click the top of the content tree (house icon), you can set meta description and keywords. If you've done that and they don't show, then it's likely that you've deleted some of the lines above that generate that code.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X