Last active
December 12, 2015 04:38
-
-
Save pixelbrackets/4715215 to your computer and use it in GitHub Desktop.
Combine several language dependend sitemaps using EXT:dd_googlesitemap in TYPO3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#RewriteRule ^sitemap.xml$ /?eID=dd_googlesitemap [L] | |
RewriteRule ^sitemap_de.xml$ /?eID=dd_googlesitemap&L=0 [L] | |
RewriteRule ^sitemap_en.xml$ /?eID=dd_googlesitemap&L=1 [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Sitemap: /sitemap.xml | |
### if you want to use »autodiscovery«, then use one sitemap.xml only and add all child sitemaps into a text file (see example below), but adding each sitemap to robots.txt should be enough | |
Sitemap: /sitemap_de.xml | |
Sitemap: /sitemap_en.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
<sitemap> | |
<loc>http://www.solarwatt.de/sitemap_de.xml</loc> | |
</sitemap> | |
<sitemap> | |
<loc>http://www.solarwatt.de/sitemap_en.xml</loc> | |
</sitemap> | |
</sitemapindex> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment