<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinshin86</author_name>
  <author_url>https://blog.hatena.ne.jp/shinshin86/</author_url>
  <blog_title>at backyard</blog_title>
  <blog_url>https://shinshin86.hateblo.jp/</blog_url>
  <categories>
    <anon>備忘録</anon>
    <anon>GatsbyJS</anon>
    <anon>Netlify</anon>
    <anon>SEO</anon>
  </categories>
  <description>先日、Gatsbyで作成してNetlifyで運用しているサイトで不要なリダイレクトが発生していることに気づき、対応をしていた。 (Google Search Consoleでリダイレクトありと出ていた) ただ、コードを見ていてもリダイレクトがかかっている箇所なんて存在しないし、なぜだろう？と悩んでいたときにこのIssueを見つけた。 github.com 私のケースもここで書かれているのと同様で、末尾にスラッシュがない URL を指定すると、末尾にスラッシュがあるページに 301 リダイレクトされるというものだった。 なお、この問題についてはローカルの開発環境上では起こらず、Netlify上で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinshin86.hateblo.jp%2Fentry%2F2021%2F03%2F10%2F083147&quot; title=&quot;【Gatsby の SEO対策】Gatsby + Netlifyで運用しているサイトで意図しない301リダイレクトがかかっていたので対応した話 - at backyard&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-10 08:31:47</published>
  <title>【Gatsby の SEO対策】Gatsby + Netlifyで運用しているサイトで意図しない301リダイレクトがかかっていたので対応した話</title>
  <type>rich</type>
  <url>https://shinshin86.hateblo.jp/entry/2021/03/10/083147</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
