Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitemap problems #162

Open
kyo-jp opened this issue Dec 18, 2020 · 4 comments
Open

Sitemap problems #162

kyo-jp opened this issue Dec 18, 2020 · 4 comments

Comments

@kyo-jp
Copy link

kyo-jp commented Dec 18, 2020

Hi, I added this module, sitemap doesn't work. Do you have any suggestions?

  {
    resolve: `gatsby-plugin-intl`,
    options: {
      path: `${__dirname}/src/intl`,
      languages: [`en`, `es`, `zh`],
      defaultLanguage: `en`,
      redirect: false,
    },
  },    
  {
    resolve: `gatsby-plugin-sitemap`,
    options: {
      head: true,
      output: `/sitemap.xml`,
    }
  },
@AleC77
Copy link

AleC77 commented Mar 8, 2021

I have the same issue with Gatsby 3. Any update?

@kyo-jp
Copy link
Author

kyo-jp commented Mar 8, 2021

By the way, I'm using Amplify tho, in case of that, removing the redirect enables you to resolve this problem.

@AleC77
Copy link

AleC77 commented Mar 8, 2021

Can you explain me how you did it?

@kyo-jp
Copy link
Author

kyo-jp commented Mar 8, 2021

Screen Shot 2021-03-08 at 12 17 14 PM

Like this. You can click 'Rewrites and redirects' on the left side menu. And delete everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants