Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO-Metatags auf Nicht-URL-generierten Seiten gibt nur "Array" aus #275

Open
alxndr-w opened this issue Mar 22, 2023 · 3 comments · May be fixed by #276
Open

SEO-Metatags auf Nicht-URL-generierten Seiten gibt nur "Array" aus #275

alxndr-w opened this issue Mar 22, 2023 · 3 comments · May be fixed by #276

Comments

@alxndr-w
Copy link
Contributor

Array

als Ausgabe von

use Url\Seo;

$seo = new Seo();
echo $seo->getTags();

Ist das so gewollt? Oder muss ich unterscheiden, ob ich mich in einer URL oder einem klassischen Artikel befinde oder nicht?

@tbaddade
Copy link
Owner

Ist das so gewollt? Oder muss ich unterscheiden, ob ich mich in einer URL oder einem klassischen Artikel befinde oder nicht?

Wenn du die aktuellste Version nutzt, dann sollte folgendes reichen:

$seo = new rex_yrewrite_seo();
echo $seo->getTags();

Url hängt sich an einem EP von yrewrite dran.

@alxndr-w
Copy link
Contributor Author

alxndr-w commented Mar 25, 2023

Sind dann die Docs verkehrt?

redaxo_url/README.md

Lines 248 to 253 in c103881

```php
use Url\Seo;
$seo = new Seo();
echo $seo->getTags();
```

@alxndr-w alxndr-w linked a pull request Mar 29, 2023 that will close this issue
@alxndr-w
Copy link
Contributor Author

Siehe auch #271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants