Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Richard Haeser
committed
Jul 25, 2018
1 parent
bd88d60
commit 0dc36cd
Showing
13 changed files
with
259 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.. ================================================== | ||
.. FOR YOUR INFORMATION | ||
.. -------------------------------------------------- | ||
.. -*- coding: utf-8 -*- with BOM. | ||
.. include:: ../Includes.txt | ||
|
||
|
||
.. _configuration: | ||
|
||
Configuration | ||
============= | ||
|
||
There is no need for configuration although it is recommended to remove all other SEO related plugins creating metatags in frontend. | ||
|
||
However, a few things can still be configured using an extension that overwrites the `EXTCONF` of `yoast_seo` or by TypoScript. | ||
|
||
.. toctree:: | ||
:maxdepth: 5 | ||
:titlesonly: | ||
|
||
Permissions/Index | ||
Rendering/Index | ||
SnippetPreview/Index | ||
Social/Index | ||
TCA/Index | ||
OtherPlugins/Index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.. ================================================== | ||
.. FOR YOUR INFORMATION | ||
.. -------------------------------------------------- | ||
.. -*- coding: utf-8 -*- with BOM. | ||
.. include:: ../../Includes.txt | ||
|
||
|
||
.. _permissions: | ||
|
||
Permissions | ||
=========== | ||
|
||
Access rights | ||
------------- | ||
Since version 2 of Yoast SEO for TYPO3, you can set permissions by setting the permissions to fields and backend modules | ||
in the backend group permissions. All fields are exclude fields and all modules can be turned on or of separately. | ||
You don't need specific configuration anymore. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.. ================================================== | ||
.. FOR YOUR INFORMATION | ||
.. -------------------------------------------------- | ||
.. -*- coding: utf-8 -*- with BOM. | ||
.. include:: ../../Includes.txt | ||
|
||
|
||
.. _rendering: | ||
|
||
Disable rendering Yoast SEO meta tags | ||
===================================== | ||
|
||
If you use a specific page type for something like a print-only template you can disable the rendering of additional markup. | ||
|
||
.. code-block:: typoscript | ||
printPage.config.yoast_seo.enabled = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.. ================================================== | ||
.. FOR YOUR INFORMATION | ||
.. -------------------------------------------------- | ||
.. -*- coding: utf-8 -*- with BOM. | ||
.. include:: ../../Includes.txt | ||
|
||
|
||
.. _snippetpreview: | ||
|
||
Snippet Preview | ||
=============== | ||
|
||
Enable snippet preview on specific page types | ||
--------------------------------------------- | ||
By default, the snippet preview is only shown on pages with doktype 1 (Standard page) and 6 (Backend user section). You can | ||
add your own doktypes like the example below. | ||
|
||
.. code-block:: typoscript | ||
module.tx_yoastseo { | ||
settings { | ||
allowedDoktypes { | ||
blog = 137 | ||
} | ||
} | ||
} | ||
Disable snippet preview with PageTs | ||
----------------------------------- | ||
Sometimes only a check on doktype isn't enough for disabling the snippet preview. For example if you want to hide the | ||
snippet preview on detail pages of for example a news item, you need more than a check on a doktype. That is why you can | ||
also disable the snippet preview based on PageTs. Below an example to hide page if it is a subpage of page with id 4. | ||
|
||
.. code-block:: typoscript | ||
[PIDupinRootline = 4] | ||
mod.web_SeoPlugin { | ||
disableSnippetPreview = 1 | ||
} | ||
[global] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.. ================================================== | ||
.. FOR YOUR INFORMATION | ||
.. -------------------------------------------------- | ||
.. -*- coding: utf-8 -*- with BOM. | ||
.. include:: ../../Includes.txt | ||
|
||
|
||
.. _social: | ||
|
||
Social media settings | ||
===================== | ||
|
||
Open Graph / Twitter cards | ||
-------------------------- | ||
|
||
If you select an image for Open Graph or Twitter Cards <meta /> tags you can specify the dimensions of the | ||
image shared. You can change the width and height by TypoScript. | ||
|
||
.. code-block:: typoscript | ||
plugin.tx_yoastseo { | ||
settings { | ||
og.image.width = 640c | ||
og.image.height = 480c | ||
twitter.image.width = 640c | ||
twitter.image.height = 480c | ||
} | ||
} | ||
Set different fallback images for each site | ||
------------------------------------------- | ||
There is a settings panel which you can use to set fallback images for opengraph and Twitter. These will then be used for | ||
your site. If you have multiple sites however, there is a need to set different fallback images for each site. This is | ||
possible by using the opengraph and Twitter image fields on the root page of each respective site. You can then use the | ||
following TypoScript to use those images as fallback images: | ||
|
||
.. code-block:: typoscript | ||
lib.yoastSEO { | ||
og { | ||
fallBackImages { | ||
references { | ||
fieldName = og_image | ||
} | ||
} | ||
} | ||
twitter { | ||
fallBackImages { | ||
references { | ||
fieldName = twitter_image | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.