Maybe stupid question, but I have to ask:

I'm hosting my images on a subdomain. My main site is and images are stored on

Subdomain is just a simple html page - when you type its address in the browser, a blank page with "access forbidden" will pop up. If I put a noindex tag in that page (index.php), will my images stop indexing as well? The html page is called index.php and you can find it in the /media folder (images are stored here as well).

Of course I want to keep indexing my images.

New contributor
kacper3355 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
up vote 0 down vote accepted

As long as your image files themselves are embedded/linked from prominent pages on your main domain and accessible to search engine crawlers, any other pages on either domain (including the "main page" of can be noindex without affecting the indexability of the rest of your content.

One thing to note is that if your access forbidden page serves a 403 status code, don't worry about search engines indexing it because they skip indexing pages that serve 400-series errors anyways.

  • My static page does not serve 403 status code, it's just a plain text added by me Anyways, thank you! That's all what I wanted to know :) – kacper3355 Dec 6 at 18:39
  • @kacper3355 If this answered your question fully and completely, please don’t forget to mark it as "accepted" by clicking the gray checkmark to the left of the answer. Thank you! – Maximillian Laumeister Dec 6 at 18:45
  • Alright, done! :-) – kacper3355 Dec 6 at 18:47

Your Answer

kacper3355 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.