I have a site where homepage "example.com" redirects to random joke(example.com/random-joke). First I redirected with php, but then google indexed that joke page(rather to be empty). I used "302 Found" status code.
Now i'll echo links to latest jokes and hide it with javascript and redirect with javascript.
But this doesn't seem to help..
- It seems that google still indexes joke page instead a list of jokes provided to homepage
- It is slower for the visitor to redirect with javascript
So does google detects javascript redirects and is there any good solution for "random redirects"?
