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

meta title und description funktioniert nicht - yrewrite #34

Closed
steri-rex opened this issue Jan 29, 2017 · 3 comments
Closed

meta title und description funktioniert nicht - yrewrite #34

steri-rex opened this issue Jan 29, 2017 · 3 comments

Comments

@steri-rex
Copy link

Ich verwende yrewrite 2.2.1 und url 1.0.0-beta4 - die URL Generierung auf Basis einer erstellten Veranstaltungs DB funktioniert super - auch die Ergänzung der URLs in die Sitemap. Nur die SEO Generierung des meta titles und meta description will irgendwie nicht. Trotz Einstellung im Addon kommt nicht title und description aus den gewählten Spalte sondern immer noch vom Artikel. Hab ich etwas vergessen?
Als Ausgabe im header verwende ich
<?php $seo = new rex_yrewrite_seo(); echo $seo->getTitleTag().PHP_EOL; echo $seo->getDescriptionTag().PHP_EOL; echo $seo->getRobotsTag().PHP_EOL; echo $seo->getHreflangTags().PHP_EOL; echo $seo->getCanonicalUrlTag().PHP_EOL; ?>

@tbaddade
Copy link
Owner

Du musst new UrlSeo() schreiben.

@steri-rex
Copy link
Author

danke! funktioniert

@hirbod
Copy link

hirbod commented Apr 18, 2017

Bitte mal einen Hinweis hierzu in die README. Generell fehlt hier noch bisschen mehr Doku. Ggf @alexplusde mal :)

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

No branches or pull requests

3 participants