Answers.Body: <p>Well, this isn't a Craft issue.</p>
  
  <p>You can submit a URL to be indexed via the "render" tab in Google Search Console. IIRC not all will necessarily be indexed straight away, even if submitted by itself, it may take time. </p>
  
  <p>You might find more info on this on the Webmasters Forum: <a href="https://productforums.google.com/forum/#!forum/webmasters" rel="nofollow noreferrer">https://productforums.google.com/forum/#!forum/webmasters</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-08T16:57:14.683Z
Answers.Text: The URLs have been submitted and some are indexing, and then it will not be indexed the next day. A few days later it'll be indexed again.
Answers.UserDisplayName: Exziled
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-08T16:49:40.427Z
Answers.LastActivityDate: 2017-02-08T16:49:40.427Z
Answers.UserDisplayName: joe
Answers.Body: <p>Just because Google has not indexed your pages doesn't mean there isn't necessarily anything wrong. Have you gone into the group Google search console to see what pages it has actually consumed?</p>
  
  <p>Also, you might consider trying SEOmatic to handle your SEO:  <a href="https://github.com/nystudio107/seomatic" rel="nofollow noreferrer">https://github.com/nystudio107/seomatic</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-08T16:45:14.557Z
Answers.Text: We can see that it has crawled all of the pages, but is only indexing random blogs. Which ones are indexed seems to change every day/few days as well.
Answers.UserDisplayName: Exziled
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-08T16:42:03.967Z
Answers.LastActivityDate: 2017-02-08T16:42:03.967Z
Answers.UserDisplayName: andrew.welch
Body: <p>We are encountering an issue where some/most of our blog pages are not indexing with Google. Some random blog pages are indexed but most are not.</p>
  
  <p>The pages are being rendered correctly by the google bot but are not being indexed.</p>
  
  <p>This is our _entry.html that pulls in the craft blog and renders the individual blog view:</p>
  
  <pre><code>{% set title = entry.title ~ " | Blog" %}
  
  {% if entry.metaDescription | length &gt; 0 %}
      {% set description = entry.metaDescription  %}
  {%else%}
      {% set description = entry.body|split('&lt;/p&gt;') [0] | striptags | slice(0, 144)  %}
  {%endif%}
  
  {% block meta_tags %}
      {{ siteMacros.returnMetaTags({
              'description' : description,
              'og:title' : entry.title ~ ' | Default Titlge Here',
              'og:image' : siteUrl ~ 'assets/favicons/favicon-196x196.png'
          }) 
      }}
  {% endblock %}
  
  {% block content %}
  
      &lt;h1 class="main-page-title"&gt;{{entry.title}}&lt;/h1&gt;
  
      &lt;div class="entry-container"&gt;
          &lt;article&gt;
              {% include 'content_blocks/_entryBody.html' %}
          &lt;/article&gt;
  
          &lt;aside&gt;
              {% include 'content_blocks/_blogCategoryList.html' %}
          &lt;/aside&gt;
      &lt;/div&gt;
  
  {% endblock %}
  </code></pre>
  
  <p>This just filters everything through the _entrybody.html which looks like this:</p>
  
  <pre><code>{% import '_macros' as siteMacros %}
  
  {%if entry.subHead | length %}
      &lt;h2&gt;{{entry.subHead}}&lt;/h2&gt;
  {%endif%}
      {% if entry.image | length %}
          {% set image = entry.image.first() %}
      {% elseif entry.curataImage | length %}
          {% set image = entry.curataImage %}
      {%endif%}
  
      {% if image | length %}
          {{ siteMacros.responsiveImage(image) }}
      {%endif%}
  
      {%if entry.video | length %}
      &lt;iframe src="{{ craft.videoEmbed.getEmbedUrl(entry.video) }}"&gt;&lt;/iframe&gt;
      {%endif%}
  
      &lt;div class="content-body"&gt;
          {% set paragraphs = entry.body|split('&lt;/p&gt;') %}
          {% set pfirstBreak = (paragraphs | length / 2 ) | round - 1 %}
          {% set firstParagraphs = paragraphs | slice (0, pfirstBreak) %}
          {% set lastParagraphs = paragraphs | slice (pfirstBreak, paragraphs | length ) %}
  
          {% for p in firstParagraphs %}
              {{p|raw}}
          {%endfor%}
  
          {%if entry.pullQuote | length %}
              &lt;blockquote&gt;
                  {{entry.pullQuote}}
              &lt;/blockquote&gt;
          {%endif%}
  
          {% for p in lastParagraphs %}
              {{p|raw}}
          {%endfor%}
  
          {% if entry.pdf | length %}
              &lt;div class="documents"&gt;
                  &lt;span&gt;&lt;small&gt;Related Documents:&lt;/small&gt;&lt;/span&gt;
                  {%for pdf in entry.pdf %}
                      &lt;p&gt;&lt;a href="{{pdf.url}}"&gt;{{pdf.title}} [pdf]&lt;/a&gt;&lt;/p&gt;
                  {%endfor%}
              &lt;/div&gt;
          {%endif%}
  
  
          {% if entry.referringSite | length  and  entry.readMoreLink | length %}
              &lt;p&gt;Read the full article at &lt;a target="_blank" href="{{entry.readMoreLink}}"&gt;{{entry.referringSite}}&lt;/a&gt;&lt;/p&gt;
          {% endif %}
  
      &lt;/div&gt;
  
      {% if not hidePostDate %}
          {% set category = entry.category.first %}
          &lt;p&gt;&lt;strong&gt;Posted {{ entry.postDate.format('F j, Y') }}{% if category | length %} in {{category.link}}{%endif%}.&lt;/strong&gt;&lt;/p&gt;
      {% endif %}
  </code></pre>
  
  <p>I'm unsure why any of this would cause the pages not to be indexed by google. Some pages are indexed that go through this same code but others are not.</p>
  
Tags: <index><seo>
Title: Blog pages not indexing SEO
ThreadText: # Blog pages not indexing SEO
  
  (Asked by: username_0 on 2017-02-08)
  
  We are encountering an issue where some/most of our blog pages are not indexing with Google. Some random blog pages are indexed but most are not.
  
  The pages are being rendered correctly by the google bot but are not being indexed.
  
  This is our \_entry.html that pulls in the craft blog and renders the individual blog view:
  
  ```
  {% set title = entry.title ~ " | Blog" %}
  
  {% if entry.metaDescription | length > 0 %}
      {% set description = entry.metaDescription  %}
  {%else%}
      {% set description = entry.body|split('</p>') [0] | striptags | slice(0, 144)  %}
  {%endif%}
  
  {% block meta_tags %}
      {{ siteMacros.returnMetaTags({
              'description' : description,
              'og:title' : entry.title ~ ' | Default Titlge Here',
              'og:image' : siteUrl ~ 'assets/favicons/favicon-196x196.png'
          }) 
      }}
  {% endblock %}
  
  {% block content %}
  
      <h1 class="main-page-title">{{entry.title}}</h1>
  
      <div class="entry-container">
          <article>
              {% include 'content_blocks/_entryBody.html' %}
          </article>
  
          <aside>
              {% include 'content_blocks/_blogCategoryList.html' %}
          </aside>
      </div>
  
  {% endblock %}
  
  ```
  
  This just filters everything through the \_entrybody.html which looks like this:
  
  ```
  {% import '_macros' as siteMacros %}
  
  {%if entry.subHead | length %}
      <h2>{{entry.subHead}}</h2>
  {%endif%}
      {% if entry.image | length %}
          {% set image = entry.image.first() %}
      {% elseif entry.curataImage | length %}
          {% set image = entry.curataImage %}
      {%endif%}
  
      {% if image | length %}
          {{ siteMacros.responsiveImage(image) }}
      {%endif%}
  
      {%if entry.video | length %}
      <iframe src="{{ craft.videoEmbed.getEmbedUrl(entry.video) }}"></iframe>
      {%endif%}
  
      <div class="content-body">
          {% set paragraphs = entry.body|split('</p>') %}
          {% set pfirstBreak = (paragraphs | length / 2 ) | round - 1 %}
          {% set firstParagraphs = paragraphs | slice (0, pfirstBreak) %}
          {% set lastParagraphs = paragraphs | slice (pfirstBreak, paragraphs | length ) %}
  
          {% for p in firstParagraphs %}
              {{p|raw}}
          {%endfor%}
  
          {%if entry.pullQuote | length %}
              <blockquote>
                  {{entry.pullQuote}}
              </blockquote>
          {%endif%}
  
          {% for p in lastParagraphs %}
              {{p|raw}}
          {%endfor%}
  
          {% if entry.pdf | length %}
              <div class="documents">
                  <span><small>Related Documents:</small></span>
                  {%for pdf in entry.pdf %}
                      <p><a href="{{pdf.url}}">{{pdf.title}} [pdf]</a></p>
                  {%endfor%}
              </div>
          {%endif%}
  
          {% if entry.referringSite | length  and  entry.readMoreLink | length %}
              <p>Read the full article at <a target="_blank" href="{{entry.readMoreLink}}">{{entry.referringSite}}</a></p>
          {% endif %}
  
      </div>
  
      {% if not hidePostDate %}
          {% set category = entry.category.first %}
          <p><strong>Posted {{ entry.postDate.format('F j, Y') }}{% if category | length %} in {{category.link}}{%endif%}.</strong></p>
      {% endif %}
  
  ```
  
  I'm unsure why any of this would cause the pages not to be indexed by google. Some pages are indexed that go through this same code but others are not.
  
  **Tags:** index, seo
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-02-08. Score: 1
  
  Well, this isn't a Craft issue.
  
  You can submit a URL to be indexed via the "render" tab in Google Search Console. IIRC not all will necessarily be indexed straight away, even if submitted by itself, it may take time.
  
  You might find more info on this on the Webmasters Forum: <https://productforums.google.com/forum/#!forum/webmasters>
  
  > **Comments:**
  > **username_0**: The URLs have been submitted and some are indexing, and then it will not be indexed the next day. A few days later it'll be indexed again.  
  
  ---
  
  ### Answer by username_2 on 2017-02-08. Score: 1
  
  Just because Google has not indexed your pages doesn't mean there isn't necessarily anything wrong. Have you gone into the group Google search console to see what pages it has actually consumed?
  
  Also, you might consider trying SEOmatic to handle your SEO: <https://github.com/nystudio107/seomatic>
  
  > **Comments:**
  > **username_0**: We can see that it has crawled all of the pages, but is only indexing random blogs. Which ones are indexed seems to change every day/few days as well.  
  
  ---
  
  