phpBB3 SEO Sitemap

Asking for 3.3.0 Support - phpBB3 SEO Sitemap

Asking for 3.3.0 Support

by german-german » Fri Jun 19, 2020 3:22 am

xml.png
User avatar
german-german
Registered User
Posts: 73
Joined: Sun Jan 15, 2017 1:56 am
Location: Buenos Aires - Argentina
Name: Germán A. Sassone
Contact:

Re: Asking for 3.3.0 Support

by sukhbirgill » Tue Jul 07, 2020 6:04 pm

Hello i have it working on my 3.3 board. You need to make few changes to files in ext->shredder->sitemap->config

routing.yml [change pattern to path]

Code: Select all

shredder_sitemap_controller:
    path: /sitemap.xml
    defaults: { _controller: shredder.sitemap.controller:display_sitemap }

shredder_sitemap_controller_file:
    path: /sitemap-{seqno}.xml
    defaults: { _controller: shredder.sitemap.controller:display_sitemap_seqno_file: seqno }
    requirements:
        seqno: \d+
services.yml [ enclose arguments with ' ]

Code: Select all

services:
    shredder.sitemap.appender:
        class: shredder\sitemap\appender
        arguments:
            - '@config'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
    shredder.sitemap.core:
        class: shredder\sitemap\core
        arguments:
            - '@shredder.sitemap.appender'
            - '@auth'
            - '@config'
            - '@config_text'
            - '@dbal.conn'
            - '@service_container'
            - '@ext.manager'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
    shredder.sitemap.controller:
        class: shredder\sitemap\controller\sitemap
        arguments:
            - '@shredder.sitemap.appender'
            - '@shredder.sitemap.core'
            - '@cache'
            - '@config'
            - '@user'
    shredder.sitemap.listener:
        class: shredder\sitemap\event\listener
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: event.listener }
Its working on my board, edit comes without any warranty.
sukhbirgill
Registered User
Posts: 2
Joined: Tue Jul 07, 2020 5:55 pm
Contact:

Re: Asking for 3.3.0 Support

by german-german » Fri Jul 10, 2020 10:48 pm

Thanks god

At least for me, It works.

I'm glad you put your solution to everyone. You're great

Sorry for my english. Greetings from Buenos Aires
User avatar
german-german
Registered User
Posts: 73
Joined: Sun Jan 15, 2017 1:56 am
Location: Buenos Aires - Argentina
Name: Germán A. Sassone
Contact:

Re: Asking for 3.3.0 Support

by sukhbirgill » Mon Jul 13, 2020 8:56 pm

Welcome, glad it worked for you. Good luck
sukhbirgill
Registered User
Posts: 2
Joined: Tue Jul 07, 2020 5:55 pm
Contact:

Re: Asking for 3.3.0 Support

by Lech-u » Mon Aug 24, 2020 6:50 am

It also works in my forum.
Thanks!
Lech-u
Registered User
Posts: 20
Joined: Fri Dec 30, 2016 6:50 am
Contact:

Re: Asking for 3.3.0 Support

by halil16 » Mon Aug 24, 2020 12:39 pm

thank you. I hope it will be useful for SEO.
halil16
Registered User
Posts: 43
Joined: Fri Jul 24, 2020 11:30 pm
Location: Türkiye
Contact: