IS this code a spider trap? I call a simple js (not included here) which allows each of the 4 images to show 4 divs when clicked on.
I have put no follow on the links. Thanks
Thanks for the replies. The reason I am no following the links is because I don’t want the link text to be followed by the spiders as they don’t point anywhere but the home page.
No, the search engines do not render your page with a browser, do not execute your JavaScript or CSS, they only read your HTML source. From your HTML, you have 4 divs of content on a page. The contents of all 4 are considered part of the page.
Just remember that they will try and follow links (including relative ones) they find in on-page JavaScript (for discovery - no link equity attribution is passed)…