Developer
Supported
Sitemap Module
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
Sitemap XML Error
Support (Resolved)
niallthompson
|
Posted: 27 March 2013 07:14 PM |
|
|
|
Hi there,
I’m not entirely sure if i’ve set it up correctly but in any case I am getting an error:
This page contains the following errors:
error on line 181 at column 49: Extra content at the end of the document
Below is a rendering of the page up to the first error.
I’ve setup the template as instructed (sitemap.xml) and added the shortcode: {exp:sitemap:get}
Any thoughts?
|
|
|
niallthompson
|
Posted: 28 March 2013 09:49 AM |
# 1
|
|
|
Ha, this morning it seems to be magically working.
What I am still unsure about is how to correctly setup the channel to include multiple templates.
For example:
I have a channel called projects which has 2 templates, an index and a view template.
How would I correctly set this up?
|
|
|
PutYourLightsOn
|
Posted: 29 March 2013 07:07 AM |
# 2
|
|
Developer
|
what is the url of your channel entries? i would assume you would want something like this:
under locations:
http://www.domain.com/index
under channels:
http://www.domain.com/view/{url_title}
|
|
|
niallthompson
|
Posted: 04 April 2013 08:16 PM |
# 3
|
|
|
I have a channel called Projects which has two templates:
dandelion-burdock.com/projects
&
dandelion-burdock.com/projects/view/{url_title}
Does that make sense?
Can I manually add urls to the sitemap?
|
|
|
PutYourLightsOn
|
Posted: 05 April 2013 02:17 AM |
# 4
|
|
Developer
|
yes, so you can do this:
under locations:
dandelion-burdock.com/projects
under channels:
dandelion-burdock.com/projects/view/{url_title}
|
|
|