Yoast SEO for TYPO3
This plugin integrates text analysis and assessment from YoastSEO.js. Content analysis can generate interesting metrics about a text and give you an assessment which can be used to improve the text.
You can easily install the plugin with Composer. Just use the following command in the root of your project:
composer require yoast-seo-for-typo3/yoast_seo
There is no need for configuration although it is recommended to remove all other SEO related plugins creating metatags in frontend. There are however some configuration options available. More information about configuring Yoast SEO for TYPO3 can be found in the manual on https://docs.typo3.org.
This repository uses the Yoast grunt tasks plugin.
Changing Frontend behaviour
As it has always been, you can change frontend behaviour of
yoast_seo via TypoScript. Check the current file for reference.
Reporting bugs / Contributions
Anyone is welcome to contribute to Yoast SEO for TYPO3. Please read the guidelines for contributing to this repository and how to report bugs.
There are various ways you can contribute:
- Raise an issue on GitHub.
- Send us a Pull Request with your bug fixes and/or new features.
Using DDEV to test
In this repository we added a DDEV setup so you can easily test your contributions in all the TYPO3 versions the extension should work with.
First of all, make sure you have installed DDEV and Docker. See the documentation how to do that. After you have installed DDEV, run the following command in the root of this repository.
After the setup is started, you can use the following command to make sure all installations are up and running.
When the script is finished, you can go to https://yoast-seo.ddev.site and check the TYPO3 installations that are available to test your work.
The following instances will be up and running for you after you have installed the DDEV setup.
You will be able to login to the backend of the instances above, by using the following credentials:
Username: admin Password: password
If you want to reset the instances? Use the following two commands. Be aware that this will also reset the databases!
ddev rm -O -R
and after that:
docker volume rm yoast-seo-v8-data yoast-seo-v9-data yoast-seo-v10-data
If you change the code, you can directly see the changes in all the installations of your DDEV setup.
Thanks to Armin Vieweg for this example DDEV setup for extensions