WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Sitemap issue

Version: 4.0.35
printPrint


Sitemap issue
fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004
Total Topics: 56
Total Posts: 121
Posted 07/31/07 - 08:13 PM:
quote post
#1
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
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 08/01/07 - 02:33 AM:
quote post
#2
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.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.