question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting ERROR 404 on Google search console

See original GitHub issue

Version

v5.3.0

Steps to reproduce

['nuxt-i18n', {
      parsePages: false,
      locales: ['es'],
      strategy: 'prefix',
      detectBrowserLanguage: {
        useCookie: true,
        cookieKey: 'i18n_redirected',
        alwaysRedirect: true,
        fallbackLocale: 'es'
      },
      vueI18n: {
        messages: {
          'es': require('./locales/es.json')
        }
      }
    }],

Here is my nuxt-i18n configuration.

What is expected ?

Redirect to /es as it is the only one available language.

What is actually happening?

Google Search Console is telling me that I have an ERROR 404 in / when crawling data from my website error.png

Additional comments?

I have no problem entering the webpage, but my website is not being indexed by Google on their Search Engine because of this.

<div align="right">This bug report is available on Nuxt community (#c323)</div>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:17

github_iconTop GitHub Comments

2reactions
rchlcommented, Apr 24, 2020

This specific case (configuration posted in the initial comment) appears to have been fixed by #510.

1reaction
rchlcommented, Nov 13, 2019

Thanks a lot. I can see the problem now and will look into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Find 404 Error Pages using Google Search Console
Finding 404 Error pages · Go to your Website dashboard under Google search console. · Click on coverage under Index · Under error...
Read more >
What Are Google Soft 404 Errors (and How to Fix Them)
The easiest way to check for soft 404 errors is using Google Search Console (formerly Google Webmaster Tools). Log in to your account...
Read more >
How to Find and Fix a 404 Error on Your Website
1. Google Search Console: You will find a list of all 404 pages by logging into your Google search console account and going...
Read more >
A Guide To Fixing Google Search Console Errors in 2022
Not found (404):​​ Many 404 errors on the web are created when a website changes its links, but forgets to set up redirects...
Read more >
404 Errors: How to Find and Fix Them
Log into your Google Search Console Account and go to “Coverage.” Click on the “Excluded” tab on the right side and make sure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found