XML Sitemap

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Re: XML Sitemap

Postby hansfn » Sun Jan 17, 2010 8:06 am

The validation problem with the sitemap was just fixed in revision 2335. Log message:

Bug fix. Since the dates are stored slightly different in the MySQL database
compared to the flatfile database, we must use format_date to avoid validation
errors for the sitemap.

Regarding PHP info and Apache version: The info should be there - look for "apache2handler" and/or "Apache Version".
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: XML Sitemap

Postby mbootsman » Sun Jan 17, 2010 9:50 am

hansfn wrote:OK. What version of Apache is your site running? As you probably know, I never write anything without testing it. (I'll update the XML sitemap docs, since your code is more correct anyway.)


I really, really hope that

Code: Select all
RewriteRule ^sitemap\.xml$ index.php?xml_sitemap [L,QSA]

works on your server (since the substitution isn't a regexp).

My apache vesion is : Apache version 2.2.8 and yes, your posted code above works. When leaving out the backslash with sitemap.xml it doesn't work.
Posts: 89
Joined: Tue Apr 29, 2008 7:09 am

Re: XML Sitemap

Postby Harm10 » Sun Jan 17, 2010 11:37 am

Schop wrote:
Marza wrote:I believe you can determine that with PHPinfo

Nope...tried that..
If I execute phpinfo() on my site I get a lot of info about Apache....... maybe you should check again? ;)
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: XML Sitemap

Postby Schop » Sun Jan 17, 2010 2:08 pm

Thanks for the revision, work great now

To all: of course I checked more than once if the Apache version infomation was there, and looked for all the obvious things. But if you till don't believe me, here's a link, try to find it: http://johnschop.nl/nifo.php
User avatar
Posts: 485
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio


Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 2 guests