Customizing SMF > Modifications and Packages
SEO sitemap and XML sitemap
Ghostaunt:
Same error I think it's because we have any xml tags into the <urlset> tag.
I think you must don't generate the xml if there is any data
mkress:
@maestrosite.ru I have optimized the use of getBoardIndex - thanks for your suggestion.
will include russian translation in next version.
mkress:
you only have to submit the xml index-file to google:
...forum/index.php?action=kitsitemap;xml
it is not necessary to include every single board, because boards are included in the index file....
mrintech:
Hi mkress,
I have recently started using your MOD and it's very useful. Thanks a lot :)
I need your help with following:
I am using Pretty URLs Mod and my normal sitemap ( http://examdunia.com/index.php?action=kitsitemap ) have links which Pretty URLs set for my Boards and Topics. But, the XML Sitemap ( http://examdunia.com/index.php?action=kitsitemap;xml ) have default SMF URLs, instead of Pretty URLs!!!
Is it possible to have Pretty URLs in the XML Sitemap as well, for all boards?
Please help
Thanks a lot :)
streetdj:
Hi,
First of all thanks for the mod. It seems very useful.
I have the same problem like everyone. Google does'nt understand XML.
I added to google like: .../index.php?action=kitsitemap;xml
google says OK but it shows this:
(This XML file does not appear to have any style information associated with it. The document tree is shown below.
(<sitemapindex xmlns="....sitemaps.org/schemas/sitemap/0.9">)
<sitemap>
<loc>
(livingist.com/index.php?board=3.0&action=kitsitemap;xml)
</loc>
</sitemap>
<sitemap>
<loc>
(livingist.com/index.php?board=2.0&action=kitsitemap;xml)
</loc>
</sitemap>
</sitemapindex>
Also I linked them from htaccess like;
#Sitemap .XML
RewriteEngine on
RewriteRule ^sitemap.xml$ ./index.php?action=kitsitemap;xml [L,QSA]
Btw, should I correct my robots.txt from sitemap.xml to /index.php?action=kitsitemap
Waiting your comments.
Thanks,
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version