Closed bingit2 closed 5 years ago
Thanks for your bug report.
I'm locally testing a fix for the markdown in search results.
I'm now using $post->getAttribute("contentHTML")
in the code (instead of $post->getAttribute("content")
) . Need to figure out if this is the best way, but it seems to work for Google:
Are you using the QAPage default setting or normal SEO? Because it sends the full body of the posts to the search engines. They will decide what to show and matches, example for Google with some matches in different posts:
You can open a different issue if you'd like to discuss the availability to disable the description tag (easier to tag this one as closed as your other question is not solved (yet)) :)
I thought the QAPage setting will only be turned on if I have the QA extension. I dont want the QAPage format for my SEO.
You can turn that off: https://github.com/v17development/flarum-seo#default-question-answer-results-for-discussions
Updated plugin with a fix! You can update to 0.3-beta :)
Issue first reported here https://discuss.flarum.org/d/18316-flarum-seo/12
Would also love the option to remove the description tag altogether. I prefer the bot picks up relevant description from the page instead.