Mobile app version of vmapp.org
Login or Join
Speyer207

: My site is showing up in Google's search results with a Norwegian language parameter on the URL When I make a search on Google and find my website; then I see the URL (the green line below

@Speyer207

Posted in: #Google #Language #Url

When I make a search on Google and find my website; then I see the URL (the green line below the page title) is saying domain.dk/?lang=nb.
I found out that nb is short for Norwegian. How do I remove the ?lang=nb or at least change it to ?lang=da since my website is in Danish? I have already written this inside the head-tag:

<meta name="language" content="da" />

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Speyer207

2 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

For Google to be showing to your page with that parameter, something must be linking to it like that.

You might be able to figure out where that link is from using Google Webmaster Tools. Sign into your site and navigate to "Search Traffic" -> "Links to your site". From there, look in "Your most linked content" and try to find that URL. Click on it to find out where the links are coming from.

If you use Google Analytics, you might also be able to find it there. Navigate to "Behavior" -> "Site Pages" -> "All Content". Find that URL and click on it. Choose a secondary dimension of "Referral path" to see what is linking to it like that.

I suspect that you will find that you are linking to your home page like that from somewhere on your own site. If that is the case, fixing the link on your own site would be the easiest course of action.

You can also fix the problem using "URL Canonicalization". You can either use 301 redirects to remove parameters, or put meta canonical tags on your pages letting Google know what your preferred URLs are. Here is a guide to doing so. You don't say what software powers your blog, but there are plugins for canonical URLs for most blogging platforms. For example Yoast is a WordPress plugin that does it.

10% popularity Vote Up Vote Down


 

@Bryan171

I recently read this documentation, Google doesn't look at the language tags, but at the language of the contents.

For instance, doing content="da" with an english content will make it an english site. Somehow Google confuses your Danish with Norwegian.

Same goes for the URL, it doesnt check the URL.

From the documentation:


Google uses only the visible content of your page to determine its language. We don’t use any code-level language information such as lang attributes

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme