Is there any that that I can show a lightbox to all users on page load but dont show it to Google? Note that my skills are very basic HTML so any reply would be appreciated with details.
Edit: I just realised that search engines wont load javascript anyway, right? That comes to my second question: How do I make a lightbox load on pageload?
It's hard to keep bots off of anything really. However, if they're what's known as "well behaved robots" (such as Google) you can write a robots.txt file to tell them not to look at certain pages. Have a look at http://www.robotstxt.org/
So, if you wanted.. you could add the directory which you keep your images in to keep the robots away. Just remember it'll only keep the robots which obey these rules away such is the nature of the Internet!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With