问题
I've been running some tests on my website in regards to the Google webmaster guidelines.
To my surprise it states that I'm not declaring my language ideally. Upon checking my HTML, I have the following within it:
<html lang="en">
<head>
Am I stating the language incorrectly? As I thought this was correct...
回答1:
I managed to find a fix to this problem, as I mentioned when I was trying to declare the language via HTML it just would not work.
So I used .htaccess
to fix the problem by sending custom headers:
Header set Content-Language "en-GB"
来源:https://stackoverflow.com/questions/37273839/language-not-declared-ideally