Broken Links 406

I am getting 81 results for dead links when I did a Semrush Site Audit scan on our site.

The link below is resulting in a 406 error. Does anyone know how I might fix this so I can rid my site of broken links?

https://ridethewildoutdoors.com/customer_authentication/redirect?locale=en&region_country=US

Hi @rtwoutdoors ,

A 406 error typically indicates that the server is unable to provide the requested resource in a format that is acceptable to the client (i.e., your browser). To fix this issue, try the following:

  1. Check Server Configuration:

    • Ensure that the server is configured to accept the correct content types (such as text/html, application/json, etc.).
    • If you’re using a Content Delivery Network (CDN) or any server-side caching, clear the cache and try accessing the link again.
  2. Check URL Parameters:

    • The URL includes query parameters such as locale=en and region_country=US. Make sure these parameters are valid and supported by the system you’re redirecting to. Sometimes, if the parameters aren’t correctly mapped or the server does not recognize them, it could cause a 406 error.
  3. Test Without Parameters:

  4. Review .htaccess (if applicable):

    • If you’re using Apache, check the .htaccess file for any rules that may be blocking or redirecting requests incorrectly.
  5. Check Content-Type Handling:

    • Make sure the headers sent by the server correctly match the content type that the client expects. Misconfigured headers could cause the 406 error.
  6. Contact Hosting Provider:

    • If you’re unable to resolve the issue, consider reaching out to your hosting provider to help investigate and correct the server-side configuration.

By addressing these issues, you should be able to resolve the 406 error and eliminate broken links from your site.