3)When i later checked the mapindex.xml file nothing generated, even the wrong details address, was there. Below was all that was shown from the file :
The link details url from whever you are is always $link->detailsurl(), so I don't see how it's logically possible to show something different. Are you not using {LINKDETAILSURL} as the link in your templates? If you have legacy 3.x era template code (probably link.php?action=detail&id={LINKID}) in there then your regular templates aren't rewritting correctly. Either update your templates or change the SEO settings to specify rewriting that way.
That mapindex.xml file is correct, that's what it should contain. You were intending to look at map.xml.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Sitemap issue
Forum Regular
Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Comments: 121
Hi Paul,
I tried the sitemap generator today and had a few issues:
1) the rewrite for the categories was properly generated execpt the rewrite for my details pages.
2) Below os the sitemap generated code for my details page :
<url>
−
<loc>
http://www.test.com/links/Indiana-Jones-8.html
</loc>
<lastmod>2005-01-23</lastmod>
<changefreq>yearly</changefreq>
<priority>0.3</priority>
</url>
and below is my actual link for that details page :
http://www.test.com/fun/detail/8
3)When i later checked the mapindex.xml file nothing generated, even the wrong details address, was there. Below was all that was shown from the file :
<sitemapindex>
−
<sitemap>
<loc>http://www.test.com/map.xml</loc>
<lastmod>2007-07-31</lastmod>
</sitemap>
</sitemapindex>
Thanks,
Fuee
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The link details url from whever you are is always $link->detailsurl(), so I don't see how it's logically possible to show something different. Are you not using {LINKDETAILSURL} as the link in your templates? If you have legacy 3.x era template code (probably link.php?action=detail&id={LINKID}) in there then your regular templates aren't rewritting correctly. Either update your templates or change the SEO settings to specify rewriting that way.
That mapindex.xml file is correct, that's what it should contain. You were intending to look at map.xml.