[phpBB3] URL rewriting and Sitemaps
[phpBB3] URL rewriting and Sitemaps
I use this module :
https://www.phpbb.com/customise/db/exte ... o_sitemap/
Do you have any solution please ? or other extension sitemap compatible with the module inveo ?
Thank
Re: [phpBB3] URL rewriting and Sitemaps
1) open /ext/shredder/sitemap/core.php file:
Find:
Code: Select all
class core
Replace with:
Code: Select all
define('MSU_LOAD_LIB_ONLY_BB', true);
include(dirname(dirname(dirname(dirname(__FILE__)))).'/includes/magic_seo_url.php');
class core
Find:
Code: Select all
$f_xml .= '<loc>'.$loc.'</loc>'."\r\n";
Replace with:
Code: Select all
$f_xml .= '<loc>'.msuTransformUrlBb($loc).'</loc>'."\r\n";
Save and upload to your FTP and all is done
Re: [phpBB3] URL rewriting and Sitemaps
Re: [phpBB3] URL rewriting and Sitemaps
There's a new version. Can you help me please ?
https://www.phpbb.com/customise/db/download/128081
Re: [phpBB3] URL rewriting and Sitemaps
Open /ext/shredder/sitemap/core.php file:
Find:
Code: Select all
class core
Replace with:
Code: Select all
define('MSU_LOAD_LIB_ONLY_BB', true);
include(dirname(dirname(dirname(dirname(__FILE__)))).'/includes/magic_seo_url.php');
class core
Find:
Code: Select all
$this->appender->append($f_url, (int) max(array_merge($glob, $ann, $times)), $this->config['sitemap_seo_freq_f'], $this->config['sitemap_seo_prior_f']);
Replace with:
Code: Select all
$this->appender->append(msuTransformUrlBb($f_url), (int) max(array_merge($glob, $ann, $times)), $this->config['sitemap_seo_freq_f'], $this->config['sitemap_seo_prior_f']);
Find:
Code: Select all
$this->appender->append($t_url, max($times), $this->frequency[$t_type], $this->priority[$t_type]);
Replace with:
Code: Select all
$this->appender->append(msuTransformUrlBb($t_url), max($times), $this->frequency[$t_type], $this->priority[$t_type]);
Save and upload to your FTP and all is done