SEO Metatag Info - fine plugin with extensive functions

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
User avatar
fraenkiman
Posts: 32
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

SEO Metatag Info - fine plugin with extensive functions

Post by fraenkiman » Sun Aug 07, 2022 1:52 pm

Hello, everyone.

I got a really cool plugin from “Hubert’s World” out of the sink and need your support.

I think that this plugin should definitely be part of the standard plugins for Flatpress.

You can open a detailed German manual in the browser under this link; if necessary, have it translated in your language.

The following tasks are involved:
  • If you know them or think you know them, write the steps to reproducibility here.
  • If you already know or think you know a solution (without disabling the plugin), please describe the solution step by step.
If you don't want to use your own flatpress blog, feel free to check out my flatpress blog. Here I have adapted the plugin to my needs and activated it.
Don't worry, I have created a full backup which I can restore at any time.

Excuse my bad English, Google helped.

With best regards
Frank.
My Flatpress-Blog [German]: https://frank-web.dedyn.io

User avatar
fraenkiman
Posts: 32
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: SEO Metatag Info - fine plugin with extensive functions

Post by fraenkiman » Mon Aug 08, 2022 5:27 pm

Hello, everyone.

I’ve made some progress in my research. Igor Kromin describes reproducibility on this page.

For this, it is sufficient to enter the following in the browser address bar with activated SEO meta tag info plugin:

Code: Select all

your flatpress-domain/?cat=any word or value.
Then a 96-byte file cat-*.ini is created in the directory /fp-content/content/seometa/categories.

Since PHP is not my strong suit, I have a server-side solution.
Here fill it out in the file .htaccess to store the following:

Code: Select all

### Patch für CVE-2015-4399 im SEO-Meta-Tag-Plugin
  RewriteCond %{QUERY_STRING} .*cat=(.+.?) [NC]
  RewriteRule ^(.*) - [F,L]
For me, this is an acceptable interim solution.

@Arvid, @all,
Perhaps there is the possibility to place an input validation in the plugin, which suppresses the input of ?cat=xyz.

With best regards
Frank
My Flatpress-Blog [German]: https://frank-web.dedyn.io

User avatar
Arvid
FlatPress Coder
Posts: 414
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: SEO Metatag Info - fine plugin with extensive functions

Post by Arvid » Sun Aug 28, 2022 11:58 am

Frank,

thank you very much for your research on that problem. You made it quite easy to me to create a solution: I added a check if the requested category exists before actually creating the ini file.

I uploaded the bugfix release v2.2.1 to the FlatPress wiki.

Updating from v2.2 is quite easy, simply replace fp-plugins/seometataginfo/plugin.seometataginfo.php with the new version. If that worked correctly, you'll see version 2.2.1 in your Admin Area "Plugins" panel.

All the best,
Arvid
Helpful FlatPress links: Project blog 📝 - FlatPress wiki 📖 - FlatPress@Twitter 🐦 - FlatPress@Mastodon 🐘
Stay up to date with our feeds: Forum RSS feed 📜 - Project blog RSS feed 📜
Feel free to say Thank you: Donate ❤️

🇩🇪 Für meinen Arbeitgeber in Bochum habe ich zwei Stellen zu besetzen: Junior-Systemadministrator, Ausbildung zum Fachinformatiker Systemintegration 🇩🇪

User avatar
fraenkiman
Posts: 32
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: SEO Metatag Info - fine plugin with extensive functions

Post by fraenkiman » Mon Aug 29, 2022 5:58 pm

Arvid wrote: Sun Aug 28, 2022 11:58 am I added a check if the requested category exists before actually creating the ini file.

I uploaded the bugfix release v2.2.1 to the FlatPress wiki.
Hello Arvid,

very nice. Many thanks for the fix. :D This makes my workaround on the server side obsolete.

I hope that the plugin will also run with PHP 8.1 in the future. I haven't noticed any abnormalities with PHP 7.4 so far.

Maybe someone else would like to install the plugin and translate it at the same time. Languages ​​available so far are English and German.

Best regards from Berlin
Frank
My Flatpress-Blog [German]: https://frank-web.dedyn.io

User avatar
Arvid
FlatPress Coder
Posts: 414
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: SEO Metatag Info - fine plugin with extensive functions

Post by Arvid » Sat Sep 03, 2022 6:59 pm

Glad it works fine!

Would you mind creating an own wiki page for the plugin and remove it from the legacy plugins page? I mean, technically, it's not legacy any more ;)
Thanks!
Helpful FlatPress links: Project blog 📝 - FlatPress wiki 📖 - FlatPress@Twitter 🐦 - FlatPress@Mastodon 🐘
Stay up to date with our feeds: Forum RSS feed 📜 - Project blog RSS feed 📜
Feel free to say Thank you: Donate ❤️

🇩🇪 Für meinen Arbeitgeber in Bochum habe ich zwei Stellen zu besetzen: Junior-Systemadministrator, Ausbildung zum Fachinformatiker Systemintegration 🇩🇪

User avatar
fraenkiman
Posts: 32
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: SEO Metatag Info - fine plugin with extensive functions

Post by fraenkiman » Sun Sep 04, 2022 11:46 pm

Said and done

Have a restful night everyone
My Flatpress-Blog [German]: https://frank-web.dedyn.io

User avatar
Arvid
FlatPress Coder
Posts: 414
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: SEO Metatag Info - fine plugin with extensive functions

Post by Arvid » Sat Sep 17, 2022 11:52 am

thx :D
Helpful FlatPress links: Project blog 📝 - FlatPress wiki 📖 - FlatPress@Twitter 🐦 - FlatPress@Mastodon 🐘
Stay up to date with our feeds: Forum RSS feed 📜 - Project blog RSS feed 📜
Feel free to say Thank you: Donate ❤️

🇩🇪 Für meinen Arbeitgeber in Bochum habe ich zwei Stellen zu besetzen: Junior-Systemadministrator, Ausbildung zum Fachinformatiker Systemintegration 🇩🇪

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests