I'm wondering if you could please elaborate a little on how Wp Discuz is SEO friendly?
I noticed that you advertise "SEO-friendly comment system. Easy content indexing for SE crawlers", but I can't find any documentation anywhere on how WpDiscuz handles search engine crawlers and ensures indexing of comments ?
I am for instance wondering how you handle Ajax lazy loading and search engine crawlers?
Will all comments be indexed when settings such as "Initiate AJAX loading after page", "Display only parent comments and view replies ∨ button" and "lazy load on scroll" are active?
I run a large site with a lot of user generated comments and index-ability of comments is of key importance to us.
I did a bit of dive into your code and it looks as if you are still using scroll events for lazy loading.
I’m not sure if you are aware but Google recommends the use of the newer IntersectionObserver API and a polyfill for lazy loading instead of scroll events when indexing is important. See the following developer guide:
At the bottom of the page is the Puppeteer script, created by google to test how google sees a lazy loaded page. Running that on WpDisquz shows that google does not see lazy loaded comments.
I’m really loving the new WpDisquz 7, and I hope you will consider switching out the scroll event lazy loading for a IntersectionObserver API solution, so that comments may have a better chance of being properly indexed.
Thank you for the suggestion. Sure, we'll look at that. But I's suggest you other feature. Please disable the Lazy Load and use the better solution called "". So this option will load the comment section after the page is fully loaded and you don't need the Lazy Load anymore, this is better and brings more speed to your page than the Lazy Load. Also, this feature doesn't use the scroll events.
You can disable the Lazy Load and enable the "Initiate AJAX loading after page" for Comment List Loading Type option in Dashboard > wpDiscuz > Settings > Comment Thread Displaying Tab:
Yes, I might end up going with what you suggest. I'll have to run som benchmarks. We'll see 🙂
Just as an experiment , I rewrote your scroll detection function to use the IntersectionObserver API, and with it WpDiscuz now passes Google's lazy loading test.
It took me less than ten minutes, and I'm not really an experienced javascript developer.
According to this article, it's not so easy as you mentioned. Could you please provide your example of using IntersectionObserver API that works fine for indexing?