SEO and the use of ellipsis CSS property

SEO and the use of ellipsis CSS property - Google Search Console is a free application that allows you to identify, troubleshoot, and resolve any issues that Google may encounter as it crawls and attempts to index your website in search results. If you’re not the most technical person in the world, some of the errors you’re likely to encounter there may leave you scratching your head. We wanted to make it a bit easier, so we put together this handy set of tips about seo, html, google-search, css to guide you along the way. Read the discuss below, we share some tips to fix the issue about SEO and the use of ellipsis CSS property.Problem :


I have a Q&A service and in every question details page, there is a section named "related questions". Every question in there has the title and the initial lines of the answer. We are limiting this through CSS ellipsis property but on the HTML we are adding the entire answer.




  • Is it possible that Google doesn't like this?

  • I mean, that we are trying to index content that we are not showing entirely?



Note: The answer length can be up to 2000 characters long!


Solution :

If you mean with "Google doesn't like this" then this could mean that Google may see it as a form of cloaking, then no, Google just indexes the whole page.



The question you should ask yourself, is whether or not those related questions and answers are really enough related to the page's topic. If no, then you will be better of if you do not publish those elements. Because, this could make your page(s) less relevant.



But, if related elements are really related and thematically relevant, publish them, no problem. Or, if you want move your visitors to read the related elements on their own pages, use truncating.



Create for all full answers a variable like:



<?php
$related = "full answer text;
?>


If you implement it on other pages like related, do it with something like:



<?php
echo substr($related, 0, 15);
?>

If the issue about seo, html, google-search, css is resolved, there’s a good chance that your content will get indexed and you’ll start to show up in Google search results. This means a greater chance to drive organic search traffic to your site.

Comments

Popular posts from this blog

Years after news site changed name, Google is appending the old name to search titles and news stories

Load Wikipedia sourced biographies via Ajax or render it with the rest of the page as part of the initial request?

SEO: change site address from http://www. to https://