Announcement

Collapse
No announcement yet.

SEO Title

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

    SEO Title

    by Default V8 uses the variable "Pagetitle" for <TITLE> this in turn translates to company name, section name

    How do I reverse this, so by default we get

    section name, company name

    This is a better solution for SEO if you aren't going to type in your own page titles, or at least gives you a better default

    #2
    Here's a solution:

    Replace the PageTitle variable in your overall layout with the following code:
    Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Section%27"><actinic:variable name="SectionName" />, <actinic:variable name="CompanyName" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Section%27" ><actinic:variable name="PageType" />, <actinic:variable name="CompanyName" /></actinic:block>
    That will show the section name, followed by the company name for section pages, and show something else for non-section pages.

    Comment


      #3
      This is quite neat, but lacks a decent page title for acatalog/index.html

      is there a way to add a block statement to get a decent page title for this page as it is quite a crucial one...

      Comment


        #4
        Hi Jo

        Try the following code and replace 'Enter Text Here' with the page title for your front page.
        Code:
        	<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Section%27">
        		<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%200">
        		<actinic:variable name="SectionName" />, <actinic:variable name="CompanyName" />
        		</actinic:block>
        		<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%200" >
        		Enter Text Here
        		</actinic:block>
        	</actinic:block>
        	<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Section%27" >
        		<actinic:variable name="PageType" />, <actinic:variable name="CompanyName" />
        	</actinic:block>

        Comment


          #5
          ta Chris

          add this to AUG?

          Comment


            #6
            Re

            weird tried this in 8.51 and now i get within the browser

            Brochue , company name ITC ETC ?

            Help

            Cheers
            Regards

            ITC

            www.itcsales.co.uk
            www.theitcgroup.com
            www.itclear.com

            Comment


              #7
              get it from the AUG - it works

              Comment


                #8
                Spot On

                Note the one above is a duffer

                many thanks Malcom
                Regards

                ITC

                www.itcsales.co.uk
                www.theitcgroup.com
                www.itclear.com

                Comment


                  #9
                  also

                  http://community.actinic.com/showpos...0&postcount=33

                  Comment

                  Working...
                  X