• Welcome to Sitemap Generator Forum.
 

Html Sitemap duplication problem

Started by author, December 01, 2006, 04:38:33 AM

Previous topic - Next topic

author

Hello,

I really love this program and it was well worth the money to buy it and you did a great job on getting back to me with a previous issue. However it appears as though my html sitemap gets the hiccups in my forum and keeps repeating the results over and over again on my sitemaps page.

[ External links are visible to forum administrators only ]

Any idea how I can resolve this problem?

Thanks in advance for your help!

XML-Sitemaps Support

Hello,

this happens because of session id appended to URL by your forum:
phpBB/faq.php?sid=f3df4ddcdf6d1c9345f790ec9652870f

You should manually modify your generator/config.inc.php file:
FIND:
'xs_cleanurls'=>'',

REPLACE WITH:
'xs_cleanurls'=>'#[\\?&]sid=.+#',

author

Hello,

I tried what you outlined to change in my config file but the line of code wasn't even in there to begin with so I just added it and the problem is still there.

Any other solutions? Or am I doing something incorrectly.

XML-Sitemaps Support

Please try to create .htaccess file in your phpBB folder with this content:
php_flag session.use_trans_sid off

author

Hello,

Sorry, this didn't work either. Any other ideas?

XML-Sitemaps Support

The issue appears since your forum appends session id to URLs, causing endless number of URLs.
Could you please send me a private message with ftp access to find possible workaround?