iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-29-2007, 09:09 AM
WebProWorld New Member
 
Join Date: Oct 2003
Location: Texas
Posts: 22
emersonworldwide RepRank 0
Default Old code, No DOCTYPE found!

I started our e-commerce website pages in 2001 using DW. Over the years we have added more and more products and pages. We are basically satisfied with our Google ratings but just recently I began reading WPN and now I am extremely worried about the future of our old code pages. Competitors with proper coding will eventually “run us out!”
I ran the validator.w3.org and I have 74 code errors, the first being NO DOCTYPE found. My old version of DW did not include the doctype. I tried the “loose DOCTYPE” suggested in a WPN forum, but the Validator did not like that either.
I copied my index.html into a newer version of DW MX which does have the DOCType included, being careful not to duplicate any of the Header, Meta Tag coding, and the Validator noted that it was not the right type of document.
Questions:
1. Should I sit back and say, “If it ain’t broke, don’t fix it,” or should I begin the slow process of rewriting all my code?
2. If so, any suggestions for someone who is not a programmer and would prefer to use DW.
3. Is there an easy way to copy and paste my code into a new format?
Thanks to you who are experienced for helping me.
__________________
Emerson WorldWide distributes quality products to relieve pain and improve quality of life. [url]www.emersonww.com
Reply With Quote
  #2 (permalink)  
Old 09-29-2007, 10:49 AM
dharrison's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Essex, UK
Posts: 1,288
dharrison RepRank 4dharrison RepRank 4dharrison RepRank 4
Default Re: Old code, No DOCTYPE found!

I would say definitely add it:

A DOCTYPE (document type declaration) tells the browser what particular version of HTML you are using to code your pages. More can be reading here: Document Type Declaration - Wikipedia, the free encyclopedia

Looking at your coding which is a mix of stylesheets and old HTML formatting, I would say try transitional rather than loose.

But don't be put off by 74 errors, although clean coding is a step in the right direction, it is debatable that it has any effect on ranking. it is better to concentrate on more key areas such as tweaking your content to reflect your key phrases and starting a link campaign.

A good article by Incredible Help can be found on this forum: http://www.webproworld.com/search-en...o-i-begin.html

Hope this helps.
__________________
Deb Harrison
DVH Design
Essex Web Design
Reply With Quote
  #3 (permalink)  
Old 10-01-2007, 06:10 PM
WebProWorld New Member
 
Join Date: Oct 2003
Location: Texas
Posts: 22
emersonworldwide RepRank 0
Default Re: Old code, No DOCTYPE found!

Thank you, Deb. May I please verify that this is the code you are suggesting?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
One more question, please.
Is it okay if I start adding this slowly to my 191 pages, and submitting them as I go along? Or should I wait until all the pages have this code added to FTP?
I appreciate your taking the time to answer this for me. THanks.
__________________
Emerson WorldWide distributes quality products to relieve pain and improve quality of life. [url]www.emersonww.com
Reply With Quote
  #4 (permalink)  
Old 10-01-2007, 06:37 PM
WebProWorld Member
 
Join Date: Sep 2005
Location: West Sussex, UK
Posts: 39
Fitz RepRank 1
Default Re: Old code, No DOCTYPE found!

Lots has been suggested about doc types needing to be spot on for SEO to work properly - but I've read (almost certainly here) about properly executed experiments by SEOers who've come to the conclusion that, from an SEO point of view, the doc type doesn't matter a jot ... Furthermore, in case you didn't know, neither Google nor Yahoo have a doc type declaration. Says it all for me. If you don't believe it, visit them and view source.
Reply With Quote
  #5 (permalink)  
Old 10-01-2007, 07:53 PM
WebProWorld Member
 
Join Date: Sep 2007
Posts: 47
DoneInStyle RepRank 0
Default Re: Old code, No DOCTYPE found!

Quote:
Lots has been suggested about doc types needing to be spot on for SEO to work properly - but I've read (almost certainly here) about properly executed experiments by SEOers who've come to the conclusion that, from an SEO point of view, the doc type doesn't matter a jot ... Furthermore, in case you didn't know, neither Google nor Yahoo have a doc type declaration. Says it all for me. If you don't believe it, visit them and view source.
Hmm . . . believe you . . . or believe Google Webmaster guidelines. What a choice!

Webmaster Help Center - Webmaster Guidelines

I quote; "Check for broken links and correct HTML."

emersonworldwide, I wouldn't stop your linkbuilding and other efforts, but you should start working through that site and bringing it into compliance.

For the record, pointing to humongous sites that are going to cost gazillions of dollars and take a year or two to deploy their upgrades to their sites, all of whom were waiting for the advent of IE7 before making that commitment is not the best argument to use to justify being lazy with a small site. In a year or two many of the larger sites out there will have codebases much closer to compliance than they are today.
Reply With Quote
  #6 (permalink)  
Old 10-01-2007, 08:05 PM
Webnauts's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Aug 2003
Location: Worldwide
Posts: 8,131
Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8
Default Re: Old code, No DOCTYPE found!

Emersonworldwide, here are my comments too:

1. W3C shows 74 errors. Because the tools I use go deeper, I found 102 errors and 82 other issues.

2. You should have a proper doctype on each page. If you don't Internet Explorer will go into quirks mode and display it different. And having doctypes it makes your pages search engine friendlier. Some info for the question you asked about DW: Get your DOCTYPE right
and bout ranking factors see here: SEOmoz | Google Search Engine Ranking Factors
__________________
"Being an expert isn't telling other people what you know. It's understanding what questions to ask, and flexibly applying your knowledge to the specific situation at hand. Being an expert means providing sensible, highly contextual direction." Jeff Atwood
SEO Workers - Search Engine Optimization Consulting Company | SEO Analysis Tool | Webnauts Net SEO
Reply With Quote
  #7 (permalink)  
Old 10-01-2007, 09:06 PM
Orion's Avatar
WebProWorld Veteran
WebProWorld MVP
 
Join Date: Sep 2003
Location: Halton Hills, ON
Posts: 702
Orion RepRank 4Orion RepRank 4Orion RepRank 4Orion RepRank 4
Default Re: Old code, No DOCTYPE found!

Don't just add a doctype...
open the page in Dreamweaver select File (from the menu bar) then convert xhtml transitional OR html 4.01
that will update any code that isnt' kosher with the doctype (ie. close tags for xhtml etc.) as well as add the doctype for you.
Do that for each of your pages upload then try validation.. it should be closer anyway.
Reply With Quote
  #8 (permalink)  
Old 10-04-2007, 11:01 AM
WebProWorld New Member
 
Join Date: Oct 2003
Location: Texas
Posts: 22
emersonworldwide RepRank 0
Default Re: Old code, No DOCTYPE found!

Orion! I did what you said using DW MX and it worked! It said it could not alter the images as I do not have alt tags on all of them! Thanks.

Question: can I upload a page at a time, or should I wait until ALL the pages have been converted? It will take me some time to go in a put all the necessary alt tags on all the pages.
Thanks to all of you for helping me out!
__________________
Emerson WorldWide distributes quality products to relieve pain and improve quality of life. [url]www.emersonww.com
Reply With Quote
  #9 (permalink)  
Old 10-04-2007, 02:46 PM
Orion's Avatar
WebProWorld Veteran
WebProWorld MVP
 
Join Date: Sep 2003
Location: Halton Hills, ON
Posts: 702
Orion RepRank 4Orion RepRank 4Orion RepRank 4Orion RepRank 4
Default Re: Old code, No DOCTYPE found!

one page at a time is fine..
you can use edit / find replace / specific tag / img / without attribute alt / insert attribute alt=(empty)
so that the pages validate properly.. if you have a lot of graphics on a lot of pages.
then over time go in and properly add in alt="some text" for each graphic and put in some title="" on the menu and other areas that tool tips might assist the visitor with more information.

glad it worked!
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum

Thread Tools
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

BB 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
Code to drill CA holes found on Web? WPW_Feedbot IT Discussion Forum 0 03-10-2005 03:30 PM
Code to drill CA holes found on Web WPW_Feedbot IT Discussion Forum 0 03-10-2005 03:00 PM
DOCTYPE Pi Squared Technologies Web Programming Discussion Forum 2 12-27-2004 10:10 AM
doctype markhallgate Web Programming Discussion Forum 2 08-28-2004 03:53 PM
To <!DOCTYPE> or not to <!DOCTYPE> johreiki Graphics & Design Discussion Forum 4 03-17-2004 06:12 AM


All times are GMT -4. The time now is 06:15 PM.



Search Engine Optimization by vBSEO 3.3.0