Plugin

Archived
Forum
(read-only)

Rein de Vries does not actively monitor this forum
(but you can still get help from other EE users).


For official support, visit the official support site »

Google Sitemap Lite

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Rein de Vries

     

You must be logged in to post.

Only one entry

Support (Resolved)

anchovy
anchovy

Hi,

Got an issue where the only entry on in the site map is for the root url?

<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <
url>
      <
loc>http://local.mysite.com/</loc>
      
<lastmod>2015-03-03</lastmod>
      <
changefreq>weekly</changefreq>
      <
priority>1</priority>
    </
url>
</
urlset

Template is using the syntax:

{exp:google_sitemap_lite:generate type=“structure” mode="all"

We’ve got a flat menu structure (as per attached snap), any ideas why the other entries are not displaying? (the ‘test’ page was a test to see if this was added to the xml)


Install info:
ExpressionEngine: 2.9.2
Structure 3.3.14.7
Google Sitemap Lite 1.11


Thanks in advance.

anchovy
# 1
anchovy

Got it - copy and paste error from the docs:

type=“structure” 

vs:

type="structure"