I'm glad you updated this plugin, which I think is very important for flarum. Thank you so much.

There's something I'm curious about. I noticed that the tags didn't produce a dynamic for

<head> 
<title>tag name-forum title</title>
</head>

But this is not the case for the pages.

    • [deleted]

    @JasperVriends I know this extension adds some rows to the settings table, but whilst troubleshooting an issue with another extension, I removed these entries manually from the database. I'm now getting errors on this extension (I think) because the rows no longer exist in the database, but I can't seem to get them back - even by fully removing and re-adding the extension. Any thoughts ?
    Thanks

    • [deleted]

    Never mind. In case anyone else needs these, here's mine which I pulled from the last backup and inserted back into the database

    INSERT INTOsettingsVALUES ('seo_post_crawler','1'),('seo_review_settings','1561935600'),('seo_reviewed_post_crawler','1'),('seo_reviewed_search_engines','1'),('seo_social_media_image_path','site-image-gwclkrhk.png');

      [deleted] Hi there. Thanks for trying out the plugin! Where did you get these errors? Can you explain what happened? Let me know! 😃

        • [deleted]

        JasperVriends I think it was because I'd previously imported from GIT (which worked fine), then was troubleshooting an issue with another plugin. I removed all rows I didn't need from the settings table to rule out an issue with the plugin I was looking at. When I enabled and upgraded the SEO plugin, the rows didn't get recreated, so I had to create them manually.

        It's kind of a unique situation, as I created it 🙂

          [deleted] when installing, or reinstalling the plugin, no settings will be created. You'll need to go to the admin panel and follow the steps to set up the plugin again, only then settings will be added or removed.

          But do you remember the errors?

            • [deleted]

            JasperVriends No errors, apart from "you do not have permission to do that" - or something like that. Nothing in the logs either.

              [deleted] Thank you for your reply, just tried to reproduce your error, but cannot find anything suspicious... I also removed the specified settings, but no warnings or errors. So I don't think it was anything related to this plugin 🤔

              If you experience this issue again, you can create an issue on GitHub: https://github.com/v17development/flarum-seo/issues

              For now I suspect it might be the cache or another plugin instead of this one, thanks for reporting though 🙂

              JasperVriends When I tried to update it said there was nothing to update:

              ubuntu@ip-172-31-46-90:/var/www/seekadventure.net$ sudo composer update v17development/flarum-seo
              Loading composer repositories with package information
              Updating dependencies (including require-dev)
              Nothing to install or update
              Generating autoload files
              ubuntu@ip-172-31-46-90:/var/www/seekadventure.net$
                • [deleted]

                JasperVriends Adds robots.txt to your forum, when Sitemap extension of Flagrow is enabled, the link to your sitemap.xml will appear in the robots.txt

                Just checked, and I don't see my sitemap listed in the robots.txt file ?

                  [deleted] can you confirm you don't have any manually created robots.txt file in your public directory ? If you have such a file I suspect this extension will not be able to provide its own robots file. There has to be no file named robots.txt, as it will be returned dynamically without being written to the filesystem.

                    [deleted] do you now see the sitemap ?

                    Also is your sitemap also correctly generated by the Flagrow Sitemap extension ? It also doesn't generate an actual file and any sitemap.xml file should be deleted.

                    So for everything to work you should have no robots.txt or sitemap.xml files on the server, but the urls should work because they are answered directly via Flarum backend.

                    If it still doesn't work, maybe you can share your website url with us ?