We are developing a website where there will be two distinct types of content: galleries and photos.

It makes little sense to use URL paths like /gallery/photo as some photos can appear in more than one gallery (and duplication of content is bad); so the current logic is to have a single depth on the site (/photo1, /photo2, /photo3, /gallery1, etc).

Will this impact upon SEO as the number of single depth pages increases?, is it better for Search Engines in general to see a more RESTful interface (/galleries/gallery, /photos/photo1, etc)?, or is there a better way to handle this?

P.S.: The photos will have a landing page of their own with deep textual content (as will the galleries).


2 Answers 2


No, it shouldn't matter if you have thousands of pages at the same "level". I've seen sites that have all their content at the root level because they are under the impression it makes a big difference for SEO. (Incidentally the sites do rank well but I don't think the lack of organization has any bearing on that.)

I think the structure you are proposing is good, if I have it correctly:

  • A set of category pages at /galleries/rabbits
  • All image landing pages appearing to be in one folder like /photos/bunny1

A good alternative would be to have a main category along with the other categories/tags. You get the added benefit of an extra keyword in the URL, plus it may be easier for users to understand the site structure.

With the above example, "bunny1" might be under the "rabbits" and "fluffy" categories but the main category would be "rabbits". You might then have this structure:

  • Category pages of /gallery/rabbits/ and /gallery/fluffy/, both showing the "bunny1" image.
  • Image page of /gallery/rabbits/bunny1
  • 1
    Does the use of the words "gallery" & "photos" distract from the other keywords in your example or are they beneficial for conveying information to the Search Engine crawler?
    – Metalshark
    Jul 20, 2010 at 10:25
  • No, there shouldn't be any problem including those words - in fact it could be quite beneficial since many users will include "photo" or "image" in their search terms. Just do whatever feels most logical and helpful for users. Jul 21, 2010 at 0:35

URLs are URLs - it doesn't really matter how they're structured for search engines. The main element I would recommend working on is to make sure that your images (and the pages they're on) are as much as possible on a single URL, so that you don't have /gallery1/image124 and /gallery3/image124 with the same image on them. Depending on how you build your site, that might be hard, so at the very least I would recommend working to have one chosen preferred URL for them and using something like the rel=canonical link element to point to it ( http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html ).

  • Using canonical URLs for duplicate addresses combined with DisgruntledGoat's answer may be the best of both worlds. So there would be /gallery/rabbits/bunny1, /gallery/fluffy/bunny1 and /photos/bunny1, with the gallery URLs being canonical.
    – Metalshark
    Jul 20, 2010 at 10:36
  • @Metalshark: I would try to avoid the duplicate content in the first place, if that's possible. In my answer I meant if you have a main category of "rabbits", then the URL would always be "/gallery/rabbits/bunny1" and that URL linked from the other categories. "/gallery/fluffy/bunny1" should not exist. Jul 21, 2010 at 0:38
  • Missed the word don't in "so that you don't have ... with the same image on them". Turned out to be pretty important re-reading your answer.
    – Metalshark
    Jul 21, 2010 at 5:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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