Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

web page errors


Recommended Posts

I went to a validation site and it found errors on my site that i was told that has an effect on getting listed on search engines i am not very familair with php can someone please go to http://validator.w3.org/check?uri=http://www.pcncautomation.net/ and look at the errors and help me figure out what i need to fix to get rid of these errors thanks in advance

Validation is for making sites cross-compatible with the leading browsers being used.


It has little to do with search engine ranking (IMHO).

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites

Severe errors can affect whether a page gets indexed at all, which of course would mean not being found! I don't think any of the errors shown would keep a crawler from indexing your page, but it's nice to get that cleaned up.


What the Validator is complaining about is that the DOCTYPE is HTML, yet you have added "self-closing" meta tags. HTML does not permit self-closing tags such as <meta name=..... " />. They should be changed to be <meta name=..... ">. Once that's cleared up, the Validator will no longer be confused about where the <head> section ends, and the other complaints about link, style, body, etc. should go away.


So, where you added the <meta> tags, remove the / from them. Re-run the validator, and report back here if there are still any errors found.

Link to comment
Share on other sites

I am sorry i am not very good with php i didnt actually add the meta tags what i have done tho is add one of the addons "header tags seo" i went looking to see if i could find were that line of code was and make the change but i couldnt find it, can you please help me find were in the code of that addon has that "/" to remove?

Link to comment
Share on other sites

If you still have the add-on package, examine it -- somewhere it must list the files it modifies. Or, scan your files looking for /> and you should find a bunch of them, possibly in many files, as /> shows up even in unmodified osC. If you're on a Linux server, the tool to use is "grep" (grep -r "/>" *.php). If you've downloaded your site to a PC, use the File Search utility in Start > Search. Change /> to > wherever you find it. Keep notes on what you do, in case you mess it up and need to restore a file or two. If you think you've found the file(s) with <meta ... /> but can't figure out what to do, post that section of the file here.


If you're looking to stay with HTML (DOCTYPE), and want to get rid of all the self-closing tags' />, you'll find there are quite a few of them, and not just in <meta> tags. There are also <br /> and <img ... /> tags, among others, in vanilla 2.2 RC2a

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...