1

Drupal stores images in:

/sites/default/files/whatever.png

Would it be better if I instead could find a way to have:

/images/whatever.png

OR even:

/whatever.png

Is there any way to know for sure this is or is not a factor?

1 Answer 1

3

It is absolutely okay that Drupal stores images in such a directory. While the filename should be descriptive, the alt attribute is more important for SEO. The name of the directory images are stored in is of very low importance.

You can read about Google's image publishing guidelines here.

2
  • Even though the directory name is of low importance, surely the name of the file is? Sep 12, 2016 at 15:48
  • 1
    @coderama Yes. Quoting from Google's own guidelines: “The filename can give Google clues about the subject matter of the image. Try to make your filename a good description of the subject matter of the image. […] Descriptive filenames can also be useful to users: If we're unable to find suitable text in the page on which we found the image, we'll use the filename as the image's snippet in our search results.”
    – Anselm
    Sep 12, 2016 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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