Welsh King
Welsh King

Reputation: 3238

TYPO3: Modifying TSConfig for 1 page doesn't work for cs_seo

I am using the extension cs_seo v3.1 for TYPO3 v8.7.24

I am following the instructions in the documentation for disabling the extension on a specific page by entering the following in the page tsConfig

 # page TSconfig
 mod.web_layout.tx_csseo.disable = 0

However the meta tags still load at the top of the page ?

<title>Test Title</title>
<meta name="description" content="">
<link rel="canonical" href="http://localhost/page-title" />
<meta property="og:type" content="Test type" />
<meta property="og:title" content="Test title" />
<meta property="og:description" content="Test desc" />
<meta property="og:url" content="http://localhost/page-title" />
<meta property="og:site_name" content="Test Site" />
<meta property="og:image" content="http://localhost/fileadmin/templates/facebook.jpg" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:image" content="http://localhost/fileadmin/templates/twitter_default.jpg" />

Even selecting the "Title only" option the content still appears.

Anyone know any reason why this content would still load, when I view my page tsConfig it comes up as below under the mod/weblayout branch

enter image description here

There is also the following config for the page : enter image description here

I need this page to load without these additional tags ! Can anyone help ?

Upvotes: 0

Views: 396

Answers (1)

Julian Hofmann
Julian Hofmann

Reputation: 2557

mod.web_layout.tx_csseo.disable = 0 is a setting to disable evaluations in the backend. This does not change any thing in the frontend.

It seems, you have to override/unset some TS-settings one this page. Have a look in https://github.com/clickstorm/cs_seo/blob/master/Configuration/TypoScript/Setup/Meta/openGraph.typoscript an the other TS files of EXT:cs_seo

Upvotes: 1

Related Questions