After enabled the SEO SiteMap Extension. - phpBB3 SEO Sitemap
After enabled the SEO SiteMap Extension.
I had enabled the extension.
How do i know if it works ?
or i should do more than just enable it.
Generate site plan using it ? But how ?
I am really in a lost.
Can some brave Knight save my day ?
Definitely will be most grateful for any help rendered.
- paulyii
- Registered User
- Posts: 171
- Joined: Tue Jul 29, 2008 5:19 am
- Contact:
Re: After enabled the SEO SiteMap Extension.
-
- Registered User
- Posts: 9
- Joined: Mon Nov 25, 2019 11:27 pm
- Contact:
Re: After enabled the SEO SiteMap Extension.
Firstly, as per the FAQ, you need to either have URL rewriting enabled in the ACP, or configure your server to rewrite .\app.php\sitemap.xml to .\sitemap.xml. Read here for more: https://www.phpbb.com/customise/db/exte ... p/faq/2141Anthony64 wrote:same problem here
If you do not set this correctly, the extension will not work.
Assuming rewrites are working properly, then once the extension is enabled, go the ACP > Extensions tab > SEO Sitemap.
Configure the settings you want for the sitemap, click submit to save them.
Then click on the URL in that page or manually go to http://yourboard.com/sitemap.xml
When you go to the URL, the sitemap will generate dynamically (unless it is already cached). Depending on the size of your board, it may take a while, so do not close your browser. Once finished, it will load up the sitemap - or if you have more than 50,000 URLS, an index to the sub-sitemaps.
After you upload the sitemap URL to Google, or Bing, or whoever, every time they access the sitemap URL it will re-generate a new sitemap with newly added content - unless the sitemap has been cached.
I would suggest caching the sitemap to save on expending resources consumed if it generates every time it is accessed. That said, I submitted mine a few weeks ago and Google only reads it once every few days. Generally speaking, Google will not crawl the page more often than once every few days either. If there is newer content, Google has less troubles finding it than older pages. I therefore recommend setting the cache time to 72 hours.
If the above doesn't work, it might be that your board is too large. Mine has 2 million posts and in order to build the sitemap, I had to manually edit the extension to give PHP more memory. It seems that XML files are very resource-intensive to create.
Other than that, this is a great extension, and I have it working perfectly now. I can see Google going back to check the sitemap and new URLs are added to it every 3 days.
www.AusRotary.com
-
- Registered User
- Posts: 392
- Joined: Fri Feb 02, 2018 9:56 am
- Contact:
Re: After enabled the SEO SiteMap Extension.
How did you increase it?KYPREO wrote:
If the above doesn't work, it might be that your board is too large. Mine has 2 million posts and in order to build the sitemap, I had to manually edit the extension to give PHP more memory. It seems that XML files are very resource-intensive to create.
Other than that, this is a great extension, and I have it working perfectly now. I can see Google going back to check the sitemap and new URLs are added to it every 3 days.
I get timeouts all the time...
-
- Registered User
- Posts: 529
- Joined: Sat Jun 30, 2007 12:42 pm
- Contact:
Re: After enabled the SEO SiteMap Extension.
There is no execution time out for this extension. It overrides whatever your PHP default limit is. The cause of timeouts is lack of available memory.koraldon wrote:How did you increase it?
I get timeouts all the time...
Default memory allocated to Sitemap creation is 128M.
OPTION 1: If you have available memory, you can increase this.
Say you wanted to increase the limit to 256M, then edit /ext/shredder/sitemap/acp/sitemap_module.php at lines 80-102 as follows
Code: Select all
if (!empty($mem_limit))
{
$unit = strtolower(substr($mem_limit, -1, 1));
$mem_limit = (int) $mem_limit;
if ($unit == 'k')
{
$mem_limit = floor($mem_limit / 1024);
}
else if ($unit == 'g')
{
$mem_limit *= 1024;
}
else if (is_numeric($unit))
{
$mem_limit = floor((int) ($mem_limit . $unit) / 1048576);
}
$mem_limit = max(256, $mem_limit) . 'M';
}
else
{
$mem_limit = '256M';
}
OPTION 2: There is a way to reduce memory requirements by unbuffering the SQL query used to generate the sitemap. As written, the extension loads each batch in memory before returning the results array. Instead you can have the sitemap processes each query result as it is generated. This will save memory but possibly increase CPU usage.
To do so if using => PHP 7.0 (MYSQLI) and MySQL, change /ext/shredder/sitemap/core.php at lines 224 and 272 from this:
Code: Select all
$result = $this->db->sql_query($sql);
Code: Select all
$result = mysqli_query($this->db->get_db_connect_id(), $sql, MYSQLI_USE_RESULT);
www.AusRotary.com
-
- Registered User
- Posts: 392
- Joined: Fri Feb 02, 2018 9:56 am
- Contact:
Re: After enabled the SEO SiteMap Extension.
https://www.phpbb-work.ru/seo-sitemap-t19.html
The site is in Russian, but you can also just download the newest version of the extension in Zip format here and skip the site link above:
https://www.phpbb-work.ru/resources/file/148
Is this the version everyone is running now? It seems the newest version available here on this site is only 1.1.1 and this is what we are running now.
So should we upgrade?
Thank you.
- ChinaGal
- Registered User
- Posts: 182
- Joined: Fri Jan 24, 2020 10:02 am
- Contact: