jasonc Posted June 21, 2011 Share Posted June 21, 2011 I have been using Woorank to check my sites along with other checkers like W3.org, but Woorank states that.. The language you have specified in your website is different than the language detected by Google™. Use the META Language Tag to specify the natural language of your website. What else would I need to use ? the start of my sites html code. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Quote Link to comment https://forums.phpfreaks.com/topic/239956-woorank-states-it-can-not-detect-the-language-my-site-uses/ Share on other sites More sharing options...
cssfreakie Posted June 21, 2011 Share Posted June 21, 2011 that same google provides a nifty tool named a search engine. IF you would have just type in something like: how does a meta language tag look like? you probably get something like this: <meta http-equiv="content-language" content="en"> Hope this helps more info here: http://www.w3.org/International/questions/qa-http-and-lang Quote Link to comment https://forums.phpfreaks.com/topic/239956-woorank-states-it-can-not-detect-the-language-my-site-uses/#findComment-1232837 Share on other sites More sharing options...
jasonc Posted June 21, 2011 Author Share Posted June 21, 2011 yeah already done that and got a lot more than this... that line already existed in my code anyway by default. but still Woorank does not see it and i even remove the rest of the site and just had the basics and still it did not see it so there is nothing else on the site that causes it to not be picked up ? what else can i do to ensure that Woorank recognises my site as English ? Quote Link to comment https://forums.phpfreaks.com/topic/239956-woorank-states-it-can-not-detect-the-language-my-site-uses/#findComment-1232970 Share on other sites More sharing options...
cssfreakie Posted June 21, 2011 Share Posted June 21, 2011 yeah already done that and got a lot more than this... that line already existed in my code anyway by default. well if you look at your first post we couldn't know that right...? maybe add this in the top of your script: <?php header('Content-language: en'); ?> Two question Quote Link to comment https://forums.phpfreaks.com/topic/239956-woorank-states-it-can-not-detect-the-language-my-site-uses/#findComment-1233007 Share on other sites More sharing options...
jasonc Posted June 21, 2011 Author Share Posted June 21, 2011 ah found out why.... going by your post i tried your method and it worked, I noticed that you have a capital C so removed your code and altered my line to have a capital instead of all letter lower case as i was told they all have to be and it is working. now i need to search to find out the 'correct' case of these meta data. <meta http-equiv="[b]C[/b]ontent-language" content="en"> in the end i got we got ther thank you Quote Link to comment https://forums.phpfreaks.com/topic/239956-woorank-states-it-can-not-detect-the-language-my-site-uses/#findComment-1233009 Share on other sites More sharing options...
cssfreakie Posted June 21, 2011 Share Posted June 21, 2011 the w3c is the place to look. http://www.w3.org/standards/ May i assume this is solved now? Quote Link to comment https://forums.phpfreaks.com/topic/239956-woorank-states-it-can-not-detect-the-language-my-site-uses/#findComment-1233017 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.