WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Search Engine Optimization Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-22-2007, 07:23 AM
mryang's Avatar
mryang mryang is offline
WebProWorld Pro
 

Join Date: Jul 2003
Location: uk
Posts: 110
mryang RepRank 1
Default Tidy up my code and head tags.

Hi,

My site has been around for nearly 7 years now and it has constantly developed over that time. However the basis of the site has always been html.

Consequently the head tags have become a bit of a mess ... its a bit like chinese whispers if you know what I mean, can you guys give me an idea of what I can safely get rid of by looking at the view source on my site please. Dont be shy, I can take the critisism!!
__________________
http://www.dvd-and-media.com/ Largest suppliers of DVD cases in the UK
http://www.talkangling.co.uk/ Busiest fishing tackle and angling chat site in the UK
Reply With Quote
  #2 (permalink)  
Old 10-22-2007, 08:10 AM
tamecrow's Avatar
tamecrow tamecrow is offline
WebProWorld Veteran
 

Join Date: Aug 2007
Location: United Kingdom
Posts: 345
tamecrow RepRank 2
Default Re: Tidy up my code and head tags.

That's not too bad at all. I was expecting much worse!

This:

Quote:
<head>
<META NAME="DESCRIPTION" CONTENT="DVD-and-Media.com supply blank DVD media, duplication, replication services, dvd cases and plastic disc storage products. The largest distributors of dvd cases and boxes in the UK only ever using quality products and the best materials.">
<TITLE>DVD-and-media.com blank dvd recordable disc and case products for duplication and replication</TITLE>
<META NAME="KEYWORDS" CONTENT="dvd media,blank disc,dvdr,dvd cases,replication,cdr">
<META NAME="ROBOTS" CONTENT="ALL,FOLLOW,INDEX">
<META NAME="REVISIT-AFTER" CONTENT="20">
<META NAME="RATING" CONTENT="general">
<META http-equiv="CONTENT-LANGUAGE" content="English">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles.css" rel="stylesheet" type="text/css">
<link href="d-style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 10px}
-->
</style>
</head>
Should become this:

Quote:
<head>
<META NAME="DESCRIPTION" CONTENT="DVD-and-Media.com supply blank DVD media, duplication, replication services, dvd cases and plastic disc storage products. The largest distributors of dvd cases and boxes in the UK only ever using quality products and the best materials.">
<TITLE>DVD-and-media.com blank dvd recordable disc and case products for duplication and replication</TITLE>
<META NAME="KEYWORDS" CONTENT="dvd media,blank disc,dvdr,dvd cases,replication,cdr">
<META NAME="ROBOTS" CONTENT="FOLLOW,INDEX">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles.css" rel="stylesheet" type="text/css">
<link href="d-style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 10px}
-->
</style>
</head>
Although that erroneous style should be placed within your external stylesheets.
__________________
-tamecrow | UK SEO Company | Email marketing software
Reply With Quote
  #3 (permalink)  
Old 10-22-2007, 09:30 AM
Dubbya's Avatar
Dubbya Dubbya is online now
WebProWorld 1,000+ Club
 

Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,085
Dubbya RepRank 3Dubbya RepRank 3
Default Re: Tidy up my code and head tags.

Yup, not that bad at all.

Here's what I'd recommend:

Code:
<html lang="en-GB">
<head>
<TITLE>Blank dvd recordable disc and case products for duplication and replication : DVD-and-media.com </TITLE>
<META NAME="DESCRIPTION" CONTENT="DVD-and-Media.com supply blank DVD media, duplication, replication services, dvd cases and plastic disc storage products.">
<META NAME="KEYWORDS" CONTENT="dvd media,blank disc,dvdr,dvd cases,replication,cdr">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="modified" content="2007-10-22">
<meta name="copyright" content="Copyright © 2007 DVD-and-Media.com, All Rights Reserved">
<meta http-equiv="imagetoolbar" content="no">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<link href="styles.css" rel="stylesheet" type="text/css">
<link href="d-style.css" rel="stylesheet" type="text/css">
</head>
You'll notice you can declare the language with much less code by using the "lang" attribute in the HTML tag.

The "INDEX/FOLLOW" meta tag is redundant since it's presumed that by default, robots will index pages and follow links.

Same goes for the "REVISIT-AFTER" and "RATING" tags.

Your site name is less important than the words you're optimizing for, so put it last, (if at all) in your title and meta description tags. This also boosts your relevancy since less is more in the eyes of a Spider.

Put all text styles inside your style sheet and use CSS to declare your page background colour.

Code:
body {background-color: #ffffff;}
I'd also recommend the copyright meta tag where you can put your company name/site name.

Unless there's some specific reason for it, instead of the "REVISIT" meta tag, you might consider the "modified" meta tag to tell the spider when your site was last updated.

You don't want IE's silly image toolbar messing up your pages, so you might consider disabling it with a meta tag but that's not required. Disabling "Smart Parsing" is another personal preference of mine. You can leave them both out if you so choose.
__________________
Printer ink, inkjet & toner cartridges in Canada
"Price-wise printing supplies"
inkjetOasis.ca
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum
Tags: code, head, tags, tidy



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A year after buzzing my head, I finally get a new head shot! amabaie Member Photos 2 01-08-2007 08:50 PM
Tidy up of website - changing directory names Gregse Graphics & Design Discussion Forum 2 06-01-2005 08:41 PM
Why does <script> have to be within <head> tags? wwwizzard Web Programming Discussion Forum 4 07-31-2004 01:23 AM
neat and tidy or dark and basic darkspark Graphics & Design Discussion Forum 5 05-26-2004 02:49 PM
Keeping it Tidy freddieb Graphics & Design Discussion Forum 23 02-04-2004 09:34 AM


Search Engine Friendly URLs by vBSEO 3.0.0