DEV Community

Discussion on: How do "public but secret" URLs work

 
nektro profile image
Meghan (she/her) • Edited

1) Search engine crawlers only follow links, which there are none unless the OP puts them out there,

2) and you could also have server code that is something along the lines of

if (header('User-Agent').indexOf('Bot') > 0) {
    // respond with blank or 404
}