Google Sitemap Lite
ExpressionEngine 2, ExpressionEngine 3
Back to this add-on's main page
View Other Add-ons From Rein de Vries
Where is it outputting the sitemap.xml?
General (Resolved)
Richard Adamson
|
Posted: 16 July 2012 03:34 PM |
|
|
|
In Template Manager in the *site Template Group I created an XML Template with the following string
{exp:google_sitemap_lite:generate type="structure" mode="pages"}
Where is the sitemap.xml file getting outputted, I can’t see it anywhere?
|
|
|
Reinos
|
Posted: 16 July 2012 03:38 PM |
# 1
|
|
Developer
|
If your template group is called ‘site’ and your sitemap template ‘sitemap’. You can see the sitemap on the following url : example.com/site/sitemap
|
|
|
michael.hebert
|
Posted: 27 January 2016 06:01 PM |
# 2
|
|
|
How would you make it output under a example.com/sitemap.xml URL?
|
|
|
Reinos
|
Posted: 28 January 2016 03:39 AM |
# 3
|
|
Developer
|
Thats up to you. you can create your template self and place the sitemap tag on that page.
|
|
|
michael.hebert
|
Posted: 28 January 2016 10:44 AM |
# 4
|
|
|
Yeah but I was hoping to get the url as example.com/sitemap.xml. It doesn’t look like anyone’s been able to get a rewrite working for this, only a redirect :(
RewriteRule ^sitemap.xml$ /google-sitemap [R=301,L]
|
|
|
michael.hebert
|
Posted: 01 February 2016 05:34 PM |
# 5
|
|
|
Well, for anyone interested, the solution is so simple you wouldn’t even think about it: actually put sitemap.xml as your structure URL.
|
|
|