I have a generic question about SEO and cookies. Particularly when the site is hosted in the EU (like my private homepage). I'm currently redesigned my page and also improved the underlying
PHP code. But there are more issues, which I must solve. I have already asked a similar technical question on Stack Overflow, but didn't get a answer at this time. The question was: Is it legitimate (or
RFC conform), when I throw a
403 (Forbidden) code, when an user didn't accept the cookie banner?
I have also planned for SEO to allow search engines bots crawl the site without accepting the cookie banner. Will parse the
User-Agent string. Is this legal? Sorry, for this maybe stupid question.
Another option for me is to disable these resources on the specified URL on my page for both real users (if they don't accept the cookie banner) and bots, to avoid cloaking. But mention this behavior from my site on the page.