Editing HTML

Discussion in 'Joomla' started by Lanarkshire IT Services, Sep 17, 2009.

  1. #1
    Hi All

    I have ran a SEO program on my site: www.lanarkshireitservices.co.uk

    and it has advised me to make some changes to my HTML such rearranging my title, description and keyword tags in the correct order etc.

    However I am unsure which file to edit.

    Any ideas?

    Regards
     
    Lanarkshire IT Services, Sep 17, 2009 IP
  2. jay2success

    jay2success Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's easy to do in Joomla CMS. Go to Articles manager and edit article, in the right part of the edit screen, you will be able to insert title, description and keywords, change it and save it again.
    It will be easier also if you install some meta components, you can find many at joomla extensions website.
     
    jay2success, Sep 18, 2009 IP
  3. Lanarkshire IT Services

    Lanarkshire IT Services Guest

    Messages:
    360
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3

    Hi there

    I think you misunderstood me. I already have my meta info on there but according to an SEO program they should be listed as Title, Description then Keywords on my HTML file.

    However they are NOT listed in that order.

    Regards
     
    Lanarkshire IT Services, Sep 18, 2009 IP
  4. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #4
    A well formed HTML document has the document type declarations, ( "HTML tag ) the "head" tag, the "title" tag, the "title" tag closes, some meta tags ( for description and other info ) the "head" tag closes and the "body" tag is included and opened.

    You have your information in the body of the document, then the "body" tag closes and finally the "HTML" tag closes

    Like this :

    <HTML dtd declarations>
    <TITLE>
    </TITLE>
    <HEAD>
    <META descriptions>
    </HEAD>
    <BODY>
    INFO IN THE BODY
    </BODY>
    </HTML>
    Code (markup):
     
    Blue Star Ent., Sep 18, 2009 IP
  5. Lanarkshire IT Services

    Lanarkshire IT Services Guest

    Messages:
    360
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi There

    Thats great but which document do I open to edit this info?

    Regards
     
    Lanarkshire IT Services, Sep 18, 2009 IP
  6. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Every document on your site if you have a static site. Are your pages static pages ?
     
    Blue Star Ent., Sep 18, 2009 IP
  7. Lanarkshire IT Services

    Lanarkshire IT Services Guest

    Messages:
    360
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi there

    Yes they are static but I don't get what you mean "Every document".

    Regards
     
    Lanarkshire IT Services, Sep 18, 2009 IP
  8. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #8
    Hello !

    Every page on your site is called a document. Every web page should start with a "DTD". ( LINK )

    I have seen search engines fail to index a page or site because of a lack of DTD in the first code of the page. It is not a rule, but keeping to validation helps everyone. That link above should explain more.






     
    Blue Star Ent., Sep 18, 2009 IP
  9. Lanarkshire IT Services

    Lanarkshire IT Services Guest

    Messages:
    360
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hi There

    I still think you are misunderstanding what I am saying. In Joomla you enter your body text etc for each page and save. That I understand.

    But isnt there a file like index.php or configuration.php which controls the settings for all pages?

    Regards
     
    Lanarkshire IT Services, Sep 18, 2009 IP
  10. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #10
    If you are using Joomla, you do not have static pages, you have dynamic pages called from a database. ( MySql ). Depending on where your template came from, your site should already be CSS and HTML valid. You should not have to rearrange the index.php or any other "document" if the template you are using is valid.

    Is your template valid HTML and CSS ? ( LINK ) Joomla includes a link with the purity template that links to the validation site at w3.org. This is valid HTML and CSS. The link to the validator at w3.org is : validator.w3.org


     
    Blue Star Ent., Sep 18, 2009 IP
  11. Lanarkshire IT Services

    Lanarkshire IT Services Guest

    Messages:
    360
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #11
    OK but still doesn't answer my original question!

    Regards
     
    Lanarkshire IT Services, Sep 18, 2009 IP
  12. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #12
    It should have. You will have to edit whichever file, whether it be an HTML file or a css file, to bring your site into compliance. Look in the templates folder in Joomla, choose the folder of the template you are currently using, and inspect the HTML index file. If you used the link I provided above to w3 for your site, you can pick and choose exactly what it is you need to change.
     
    Last edited: Sep 18, 2009
    Blue Star Ent., Sep 18, 2009 IP
  13. barattadesign

    barattadesign Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    One of the challenges of using Joomla is editing the title, description and keyword tags. Yes it easy to insert them into your article but to get them showing the way I assume you want will take at the very least a plugin. Head over to the Joomla extension directory and look for things like JoomSEO. There are some others now too. Look for Meta and SEO related gadgets. It can become a bit more complicated if you are using a particular search engine friendly component also. You have come across an issue with Joomla that at this point in time can only be solved by using a thirdparty add-on, unless you have the experience to edit PHP code which is producing your HTML.
     
    barattadesign, Sep 19, 2009 IP