![]() |
[SOLVED] W3C Markup Validation Service - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [SOLVED] W3C Markup Validation Service (/showthread.php?tid=36086) |
[SOLVED] W3C Markup Validation Service - El Forum - 11-20-2010 [eluser]prince1001[/eluser] Hello, I'm trying to validate my pages against the W3C Markup Validation Service, but only my homepage validates. All other pages seem to empty for the service. What am I doing wrong. Website: http://www.pakjeslijst.be --> OK http://www.pakjeslijst.be/links --> NOK empty page? [SOLVED] W3C Markup Validation Service - El Forum - 11-20-2010 [eluser]dudeami0[/eluser] When initially viewing the site, I was redirected to http://www.pakjeslijst.be/welcome from http://www.pakjeslijst.be/links. Redirects throw off the W3C Markup Validation Server, and it does not save cookies/session data. An alternative is to use the HTML Validator plugin for firefox or a similar one for your browser. Else you could disable session checking from the validator (IP/host name match?). [SOLVED] W3C Markup Validation Service - El Forum - 11-21-2010 [eluser]Narkboy[/eluser] You can also validate by uploading text to the various validators. This allows you to validate pages before you upload to the web. View source then copy / paste into the validator to use it this way. I try to ensure that all pages are validated before moving onto live testing. /B [SOLVED] W3C Markup Validation Service - El Forum - 11-21-2010 [eluser]prince1001[/eluser] Thanks for the tips. I tested my pages before going on-line with a copy/paste of the source so that's OK, I just want users to have a correct result when they click on the button. I'm afraid that Google analytics also has a problem with the redirect to the home page as dudeami0 explains because I have only 1 page in the Google index. I'm going to search for a solution, thanks both of you. [SOLVED] W3C Markup Validation Service - El Forum - 11-21-2010 [eluser]Narkboy[/eluser] Google in general does not like redirects, mainly because if you have 2 urls that actually only show one page you're trying to double the exposure of that page without offering fresh content. Best bet is to avoid redirects - you *could* load the same view from 2 diffferent controllers, but Google will likely notice that and not like it. Best bet - 1 url = 1 unique page. That's what Google would like to see, and what will benefit you most in search rankings. /B [SOLVED] W3C Markup Validation Service - El Forum - 11-21-2010 [eluser]prince1001[/eluser] Problem solved. The site is prepared for a multi-language use but is for now only available in Dutch. I skipped the language part and show always Dutch for now. So the redirect is not needed anymore. |