Try our conversational search powered by Generative AI!

Broken links when viewing site in Denmark

Vote:
 

Hi,

Our UK based client is using a Danish company (Siteimprove) to optimise their site. When the Danish company run a scan of the site they are getting about 44% broken links. If we run a link checker in the UK we 100% working.

Apparently the Danish company's crawler is sending a header like 

HWR.Headers.Add("Accept-Language", "da-DK,da;q=0.8,en-US;q=0.6,en;q=0.4")

You can also re-create this behaviour from your end using Chrome by downloading the Extension 'Quick Language Switcher', enable the Danish Language from the options list and then from https://www.goconstruct.org/, click on the flag icon to change it to Danish.

I an not familiar with this but wondered if anyone else has any knowledge of this issue?

Many thanks
Jon
#145357
Mar 02, 2016 12:31
Vote:
 

As a follow on I get this error

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: name
da-GB is an invalid culture identifier.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

[CultureNotFoundException: Culture is not supported.
Parameter name: name
da-GB is an invalid culture identifier.]
   System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) +192
   GoConstruct.EPiServerApplication.Application_BeginRequest(Object sender, EventArgs e) in D:\TFS Online 2015\CITB - Image and Recruitment\GoConstruct Phase 2\GoConstruct\Global.asax.cs:29
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
#145360
Mar 02, 2016 13:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.