[ABD] [Beta] SEO Sitemaps

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
jcocking
Registered User
Posts: 197
Joined: Wed Jun 08, 2005 6:47 pm

[ABD] [Beta] SEO Sitemaps

Post by jcocking »

Extension Name: SEO Sitemaps
Author: jcocking

Extension Description: Creates search engine required site maps. The extension creates both xml and html sitemaps for readability.

Requirements: None

Features:
  • Creates xml sitemap index
  • Creates sitemap for each forum. Ability to exclude any and all forums. See Admin screenshots,
  • Ability to include image attachments as part of the sitemaps (on/off capability)
  • Ability to define priorities for Global, Sticky and Announcement topics
  • Extension computes frequency and priority based on time and activity of topic
  • Ability to include a SiteMap link on Navbar footer next to Teamlink.
  • Tested on phpBB board of 30K topics and 300K posts.
Screenshots:
Admin:
Image
Sitemap Index:
Image
Sitemap for Forum:
Image

Demo URL: SEO Sitemap
Demo Username: Admin userid and password listed in Demo Boards

Extension Download File: https://www.cocking.com/sitemap-v-0-2-0.zip
Extension Download Github: https://github.com/LotusJeff/sitemap
Image
keywords: SEO sitemap xml images
Last edited by jcocking on Sat Oct 22, 2016 1:36 pm, edited 1 time in total.
LotusElan.net is a fully responsive phpBB forum dedicated to the Lotus Elan Sportscars of the 1960s.
jcocking
Registered User
Posts: 197
Joined: Wed Jun 08, 2005 6:47 pm

Re: [Beta] SEO Sitemaps

Post by jcocking »

Changelog:

version 0.1.0 - 10/17/2106
  • Creates xml sitemap index
  • Creates sitemap for each forum. Ability to exclude any and all forums. See Admin screenshots,
  • Ability to include image attachments as part of the sitemaps (on/off capability)
  • Ability to define priorities for Global, Sticky and Announcement topics
  • Extension computes frequency and priority based on time and activity of topic
  • Ability to include a SiteMap link on Navbar footer next to Teamlink.
  • Tested on phpBB board of 30K topics and 300K posts.
version 0.2.0 - 10/22/2016
  • Restructured sitemaps for performance with a combination of dynamic and cached based sitemaps on frequency and last modified time. New structure is:
    • Current Sitemap - All topics with posts in the last 30 days. (created real-time - no caching)
    • Topics and Forums Sitemap - Sitemap for each forum. Contains topics greater than 30 days. Cached for 24 hours.
    • Sitemap Index - Master index of all sitemaps.
    • Additional Sitemap - for use by other extensions to list pages on sitemap.
  • Added hook for extensions to add pages to an additional sitemap.
  • Added hook for extensions to modify sitemap data before sitemap creation.
  • Code enhancements to increase overall performance of the sitemap generation.
Last edited by jcocking on Sat Oct 22, 2016 1:36 pm, edited 3 times in total.
LotusElan.net is a fully responsive phpBB forum dedicated to the Lotus Elan Sportscars of the 1960s.
User avatar
RomaamoR
Registered User
Posts: 253
Joined: Tue Feb 24, 2015 4:45 pm
Location: Ukraine
Name: Roman
Contact:

Re: [Beta] SEO Sitemaps

Post by RomaamoR »

And the difference between your SEO extension from the old?
Image
jcocking
Registered User
Posts: 197
Joined: Wed Jun 08, 2005 6:47 pm

Re: [Beta] SEO Sitemaps

Post by jcocking »

RomaamoR wrote:And the difference between your SEO extension from the old?
Image
Can't read your image. So, I can't provide you the feature differences. You will need to reference which extension you are referencing.
LotusElan.net is a fully responsive phpBB forum dedicated to the Lotus Elan Sportscars of the 1960s.
User avatar
RomaamoR
Registered User
Posts: 253
Joined: Tue Feb 24, 2015 4:45 pm
Location: Ukraine
Name: Roman
Contact:

Re: [Beta] SEO Sitemaps

Post by RomaamoR »

jcocking
Registered User
Posts: 197
Joined: Wed Jun 08, 2005 6:47 pm

Re: [Beta] SEO Sitemaps

Post by jcocking »

There are a fairly large number of differences between the sitemap extension. The sitemap extension you referenced:
  • Does not perform dynamic frequency/priority settings. It only assigns a default value for all topics and forums. This provides inaccurate data to the search engines. Topics not touched in a year do not have the same frequency and priority as topics being actively discussed.
  • Does not support the image standard for including images with your sitemap.
  • Makes database modifications, when not necessary.
  • The disable/delete of the extension leaves folders/files.
I am sure there are more differences, but this is a quick review of the items immediately seen.
LotusElan.net is a fully responsive phpBB forum dedicated to the Lotus Elan Sportscars of the 1960s.
jcocking
Registered User
Posts: 197
Joined: Wed Jun 08, 2005 6:47 pm

Re: [Beta] SEO Sitemaps

Post by jcocking »

The latest version has been completed.

Version 0.2.0
  • Restructured sitemaps for performance with a combination of dynamic and cached based sitemaps on frequency and last modified time. New structure is:
    • Current Sitemap - All topics with posts in the last 30 days. (created real-time - no caching)
    • Topics and Forums Sitemap - Sitemap for each forum. Contains topics greater than 30 days. Cached for 24 hours.
    • Sitemap Index - Master index of all sitemaps.
    • Additional Sitemap - for use by other extensions to list pages on sitemap.
  • Added hook for extensions to add pages to an additional sitemap.
  • Added hook for extensions to modify sitemap data before sitemap creation.
  • Code enhancements to increase overall performance of the sitemap generation.
At this time, I am not aware of any additional features necessary for this sitemap extension. We will allow the user community time to test (30 to 60 days) then move it to RC status.

jeff
LotusElan.net is a fully responsive phpBB forum dedicated to the Lotus Elan Sportscars of the 1960s.
sunster
Registered User
Posts: 23
Joined: Tue Mar 22, 2016 7:16 pm

Re: [Beta] SEO Sitemaps

Post by sunster »

Thanks. Was using the other SEO extension and it really wasn't working right.

Using yours on latest version of PHPBB (3.1.10) and no issues. Properly formatted and validates.
sunster
Registered User
Posts: 23
Joined: Tue Mar 22, 2016 7:16 pm

Re: [Beta] SEO Sitemaps

Post by sunster »

jcocking wrote:The latest version has been completed.
jeff
Hey jeff,

I'm getting this error message in Google Search Console:
Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.

Any ideas? Also just to confirm is the sitemap.xml link the best one to submit?

Thanks
jcocking
Registered User
Posts: 197
Joined: Wed Jun 08, 2005 6:47 pm

Re: [Beta] SEO Sitemaps

Post by jcocking »

sunster wrote:
jcocking wrote:The latest version has been completed.
jeff
Hey jeff,

I'm getting this error message in Google Search Console:
Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.

Any ideas? Also just to confirm is the sitemap.xml link the best one to submit?

Thanks
That is usually an indication that your phpBB/app.php/ settings are not set up correctly. When this is not working correctly, phpBB/webserver shows an error page and this is what google sees.

1. Are you able to manually see the sitemap? Go to the sitemap at <your-board-url>/app.php/sitemap/sitemap.xml

are you able to see the sitemap? If not, you need to ensure your redirect settings are correct.
LotusElan.net is a fully responsive phpBB forum dedicated to the Lotus Elan Sportscars of the 1960s.
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [Beta] SEO Sitemaps

Post by WelshPaul »

Does the sitemap have to be in the /sitemap directory?

Why not:

Code: Select all

www.domain.com/app.php/sitemap.xml
Or

Code: Select all

www.domain.com/sitemap.xml
If Enable URL Rewriting is enabled in ACP.
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [Beta] SEO Sitemaps

Post by WelshPaul »

OK so I modified the extension so that the sitemap is located at:

Code: Select all

www.domain.com/sitemap.xml
It's also accessible via:

Code: Select all

www.domain.com/app.php/sitemap.xml
Next question... Anyone tried this with 3.2.x and if so does it work?
jcocking
Registered User
Posts: 197
Joined: Wed Jun 08, 2005 6:47 pm

Re: [Beta] SEO Sitemaps

Post by jcocking »

WelshPaul wrote:OK so I modified the extension so that the sitemap is located at:

Code: Select all

www.domain.com/sitemap.xml
It's also accessible via:

Code: Select all

www.domain.com/app.php/sitemap.xml
Next question... Anyone tried this with 3.2.x and if so does it work?
I would suggest to test each sitemap as the extension creates numerous individual sitemaps.

If you make changes and announce to the world, please post the changes or a link where others can see. The true value of open source.
LotusElan.net is a fully responsive phpBB forum dedicated to the Lotus Elan Sportscars of the 1960s.
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [Beta] SEO Sitemaps

Post by WelshPaul »

Sure no problem, below are the changes I made...

Open lotusjeff\sitemap\acp\sitemap_module.php and find:

Code: Select all

'LOTUSJEFF_SITEMAP_LOCATION'			=> generate_board_url() . '/app.php/sitemap/sitemap.xml',
Replace with:

Code: Select all

'LOTUSJEFF_SITEMAP_LOCATION'			=> generate_board_url() . '/sitemap.xml',
Open lotusjeff\sitemap\event\listener.php and find:

Code: Select all

$sitemap_url = generate_board_url()."/app.php/sitemap/sitemap.xml";
Replace with:

Code: Select all

$sitemap_url = generate_board_url()."/sitemap.xml";
Open lotusjeff\sitemap\config\routing.yml and find:

Code: Select all

lotusjeff_sitemap_sitemapindex:
    pattern: /sitemap/sitemap.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:index }
lotusjeff_sitemap_current:
    pattern: /sitemap/current.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:current }
lotusjeff_sitemap_topics:
    pattern: /sitemap/topics-{id}.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:topics }
lotusjeff_sitemap_forums:
    pattern: /sitemap/forums-{id}.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:forums }
lotusjeff_sitemap_additional:
    pattern: /sitemap/additional.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:additional }
Replace with:

Code: Select all

lotusjeff_sitemap_sitemapindex:
    pattern: /sitemap.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:index }
lotusjeff_sitemap_current:
    pattern: /current.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:current }
lotusjeff_sitemap_topics:
    pattern: /topics-{id}.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:topics }
lotusjeff_sitemap_forums:
    pattern: /forums-{id}.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:forums }
lotusjeff_sitemap_additional:
    pattern: /additional.xml
    defaults: { _controller: lotusjeff.sitemap.sitemap:additional }
I can confirm that I have tested all sitemap.xml links and they work as they should.

The link to the sitemap.xml will now be:

Code: Select all

www.domain.com/sitemap.xml
Last edited by WelshPaul on Sun Jan 01, 2017 7:39 pm, edited 2 times in total.
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [Beta] SEO Sitemaps

Post by WelshPaul »

I was using http://www.phpbb-work.ru/sitemap-extension-t76.html but with your sitemap, more pages have been indexed. :)

Google webmaster reports zero issues and it passes validation as reported previously.

If nobody has tested this with 3.2.x then that is something I will do next week. I know 3.2.x hasn't been released and that the final version may change which could result in an extension that works now not working at a later date, but it will give a good indication of things to come.

Will also test this out using php 7.0 and report back.

Thanks for all your hard work putting the extension together for us all, very much appreciated. :mrgreen:

UPDATE 21/11/2016: Tested with php 7.0.1 and it works just fine.
UPDATE 21/11/2016: Just finished testing this with 3.2.0-RC1 and it works just fine.

phpBB 3.2 is still under development, it's possible things could change and that this extension may not work with the final release. Only tested this now because I wanted to see what the odds were of this working later down the line in it's present shape should this mod end up abandoned or left on the shelf as a 3.1 extension once 3.2 is released.
Locked

Return to “Abandoned Extensions”