Found this (https://github.com/JayBizzle/Laravel-Crawler-Detect) just after posting and am going to give it a run.
If anyone has any other ideas or if I should be formatting my view differently please let me know.
Thanks again.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi all,
As the title says, I wondering what the best way to return different data to search bots than regular users.
I am using an ajax call for an infinite scroll on some of my pages but Google at least does not get all of the content.
What I'd like to do is return the full page for Google and other search bots while showing the infinite scroll for others as I need to comply with a few API's T&Cs regarding how I show/fetch images.
Thanks, Rob
Please or to participate in this conversation.