Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. On-Page Optimization
    4. Url structure with dash or slash

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Url structure with dash or slash

    On-Page Optimization
    6
    8
    5715
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • muminaydin
      muminaydin last edited by

      Hi There

      We have a content website. We don't rank well category image related searches but we get quite good traffic for those keywords. Those keywords are mostly like "category images". We want to change our url structure and we have 2 options now.

      1- domain.com/category/category-images

      2-domain.com/category/images

      option 1 repeats the category name so it looks spammy

      option 2 doesn't really have the keyword.

      any ideas which one tho choose?

      Thanks!

      ps: we don't want to use domain.com/category-images (too many root link)

      1 Reply Last reply Reply Quote 0
      • NDAY
        NDAY @RobMay last edited by

        Hey Rob,

        Just throwing some ideas in here.

        Is it folder depth or distance in terms of number of clicks from Homepage that makes a difference? It was my understanding that using a very flat structure was pretty outdated SEO?

        One of the issues I think that get overlooked a lot when considering URL structure is how to structure URLs so you can drill down easily into different types of content/categories/channels.

        As I understand it Google see a slash as the root of a folder. You can see this in Analytics, a page with a slash at the end of it has a folder icon next to it and you are shown the stats for that folder. This means that if you remove the trailing slashes from actual pages you can see how separate areas of the site are performing as a whole.

        Another argument for using a folders to structuring URLs could be that "link juice" spreads throughout the folder, perhaps even contextually. For instance if I have a folder which contains all of my pages about widgets then as my link profile to the pages in the widgets folder all the pages in that folder benefit. It seems logical that if an item was in a relevant directory that x contextual links then it would benefit.

        As I said, just a bit food for thought, not sure if my theories are correct but I'd be interested what you guys think?

        Neil.

        1 Reply Last reply Reply Quote 1
        • muminaydin
          muminaydin @WesleySmits last edited by

          Thanks Wesley,

          if difference between category-images and category/images is that small, I would like to with option 2 then.

          1 Reply Last reply Reply Quote 0
          • muminaydin
            muminaydin @donford last edited by

            Hi donford

            Thanks for your answer, but I don't ask about image searches, the keyword is "category images" so it is not about image tags/desciription.

            (we already have correct tags and names)

            1 Reply Last reply Reply Quote 0
            • RobMay
              RobMay last edited by

              In my experiences and tests (although some disagree in search) don't forget to consider that (folder depth) IE - number of directories beyond the URL may have an impact on your search performance I can have an impact/factor in how deep spiders both crawl and index sites with regards to relevance and competitive landscape mapping. Just keep in mind

              So you with www.domain.com/category/images/anotherfolder/ might be much longer to get your images ranking vs www.domain.com/images/ - but again, it doesn't always work in a framework for architecture if you have multiple, hundreds or thousands of /category/ sections in the sites design.

              Try to trim down your URL to make it the most simplified, but user friendly (as possible :). Keeping it short for any pages and or directories also makes it more user friendly in that people can remember where the file was and the URL it was on 🙂

              Folder location still has impact on crawl depth and rankings. The above mentioned features to improve relevancy for images are still useful (see post above), so ensure to name each image, and use hyphens between words, use the IMG ALT text on every image to identify, and the location of said images on various location page/URL's.

              If you can get around removing the /category/ folder and reducing the URL to www.domain.com/images/ where all your image files are located, that might be better, but I have only used this in a handful of cases. Usually, more often than not .

              Hope that helps!

              NDAY 1 Reply Last reply Reply Quote 0
              • donford
                donford last edited by

                The basic question (correct me if I'm wrong) is how to rank better for Image searches.
                The answer, has little to do with the options you listed.

                The best way to achieve this

                • Name the image appropriately (example Red-Ford-Mustang-Convertiable-2014.jpg not rfmc2014.jpg)
                • Use appropriate image alt text (example "Car's Side View 2014 Mustang Convertible")
                • Place images on appropriate pages, meaning you wouldn't want to show a red ford mustang on a page about staplers (the content of the page helps the image

                Hope this helps

                muminaydin 1 Reply Last reply Reply Quote 4
                • Chris.Menke
                  Chris.Menke last edited by

                  It's such a subtle difference SEO wise (if, in fact, there is a difference at all) that it really works out to what's best in terms of the user experience (internally or externally).  I wouldn't waste much time considering it--just pick the one that seems to work best for your architecture/visitors and go with it.

                  1 Reply Last reply Reply Quote 3
                  • WesleySmits
                    WesleySmits last edited by

                    I would recommend going for option 2 -> domain.com/category/images

                    The keyword you mentioned is "Category images". Both of these words are now in the URL structure. The difference SEO wise is very very very small though.
                    The structure of option 2 is much simpler and more straightforward. It looks less spammy and is easier to type in. Therefor it's better for the user and for you to use option 2.

                    If you have any other questions feel free to ask me 🙂

                    muminaydin 1 Reply Last reply Reply Quote 3
                    • 1 / 1
                    • First post
                      Last post

                    Got a burning SEO question?

                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                    Start my free trial


                    Browse Questions

                    Explore more categories

                    • Moz Tools

                      Chat with the community about the Moz tools.

                    • SEO Tactics

                      Discuss the SEO process with fellow marketers

                    • Community

                      Discuss industry events, jobs, and news!

                    • Digital Marketing

                      Chat about tactics outside of SEO

                    • Research & Trends

                      Dive into research and trends in the search industry.

                    • Support

                      Connect on product support and feature requests.

                    • See all categories

                    Related Questions

                    • viatrading1

                      URL Structure on Category Pages

                      Hi, Currently, we having the following URL Structure o our product pages: All Products Pages: www.viatrading.com/wholesale/283/All_Products.html Category Page: www.viatrading.com/wholesale/4/Clothing.html Product Page: www.viatrading.com/wholesale/product/LOAD-HE-WOM/Assorted-High-End-Women-Clothing-Lots.html?cid=4 Since we are going to use another frontend system, we are thinking about re-working on this URL Structure, using something like this: All Products Pages: www.viatrading.com/wholesale-products/ Category Page: www.viatrading.com/wholesale-products/category/ Product Page: www.viatrading.com/wholesale-products/category/product-title/ I understand this is better for SEO and user experience. However, we already have good traffic on the current URL Structure. Should we use same left-side filters on Category Pages as in All Products Page? Since we are using Faceted Navigation, when users filter the Category (e.g. Clothing) they will see same page as Clothing Category Page. Is that an issue for Duplicate Content? Since we are a wholesale company - I understand is using "/wholesale/products/" in URL for all product pages a good idea? If so, should we avoid word "wholesale" in product-title to avoid repeated word in URL? For us, SKU in URL helps the company employees and maybe some clients identify the link. However, what do you think of using the SEO-friendly product-title, and 301 redirect it to www.viatrading.com/BRTA-LN-DISHRACKS/, so 1st link is only used by company members and Canonicalized 2nd is the only one seen by general public? Thank you,

                      On-Page Optimization | | viatrading1
                      0
                    • Matthew_smart

                      Home page keyword in url

                      I have been looking into SEO for a few weeks now trying to perfect a homepage. Going through various sources on MOZ, and other examples out there on the internet, I keep seeing that you should have your keyword in the URL of the page. The homepage is the page most people want to rank the highest in google searches, however, you cannot put the keyword in the URL as most home page URLs are simply /. Should I actually make the home like this: www.example.com/key-word-example? I would imagine this would not be the normal for many users and would seem like it's not the home page.

                      On-Page Optimization | | Matthew_smart
                      0
                    • Robotnik

                      Using a dash or underscores in file names.

                      Is it better to use a dash or an underscore in file names to improve SEO? EX memory_flash.jpg or memory-flash.jpg Or does it make no difference?

                      On-Page Optimization | | Robotnik
                      0
                    • Red_educativa

                      Google is indexing urls with parameters despite canonical

                      Hello Moz, Google is indexing lots of urls despite the canonical in my site. Those urls are linked all over the site with parameters like ?, and looks like Google is indexing them despite de canonical. Is Google deciding to index those urls because they are linked all over the site? The canonical tag is well implemented.

                      On-Page Optimization | | Red_educativa
                      0
                    • neenor

                      How to exclude URL filter searches in robots.txt

                      When I look through my MOZ reports I can see it's included 'pages' which it shouldn't have included i.e. adding filtering rules such as this one http://www.mydomain.com/brands?color=364&manufacturer=505 How can I exclude all of these filters in the robots.txt? I think it'll be: Disallow: /*?color=$ Is that the correct syntax with the $ sign in it? Thanks!

                      On-Page Optimization | | neenor
                      0
                    • Amped

                      Question about url structure for large real estate website

                      I've been running a large real estate rental website for the past few years and on May 8, 2013 my Google traffic dropped by about 50%. I'm concerned that my current url structure might be causing thin content pages for certain rental type + location searches. My current directory structure is:
                      domain.com/home-rentals/california/
                      domain.com/home-rentals/california/beverly-hills/
                      domain.com/home-rentals/california/beverly-hills/90210/
                      domain.com/apartment-rentals/california/
                      domain.com/apartment-rentals/california/beverly-hills/
                      domain.com/apartment-rentals/california/beverly-hills/90210/
                      etc.. I was thinking of changing it to the following:
                      domain.com/rentals/california/
                      domain.com/rentals/california/beverly-hills/
                      domain.com/rentals/california/beverly-hills/90210/ ** Note: I'd provide users the ability to filter their results by rental type - by default all types would be displayed. Another question - my listing pages are currently displayed as:
                      domain.com/123456 And I've been thinking of changing it to:
                      domain.com/123456-123-Street-City-State-Zip Should I proceed with both changes - one or the one - neither - or something else I'm not thinking of? Thank you in advance!!

                      On-Page Optimization | | Amped
                      0
                    • Ferguson

                      URL for location pages

                      Hello all We would like to create clean, easy URLs for our large list of Location pages. If there are a few URLs for each of the pages, am I right when I'm saying we would like this to be the canonical? Right now we would like the URL to be: For example
                      Domain.com/locations/Columbus I have found some instances where there might be 2,3 or more locations in the same city,zip. My conclusion for these would be: adding their Branch id's on to the URL
                      Domain.com/locations/Columbus/0304 Is this an okay approach? We are unsure if the URL should have city,State,zip for SEO purposes?
                      The pages will have all of this info in it's content
                      BUT what would be best for SEO and ranking for a given location? Thank you for any info!

                      On-Page Optimization | | Ferguson
                      0
                    • CommercePundit

                      How to Define Best URL Structure for Product Pages?

                      I am working on my website to edit structure with help of Google's search engine optimization starter guide. There is really good instruction to define URL structure which help us to perform well over Google's organic search. I have resolved issues regarding category pages but, I have confusion to define best URL structure for product pages. My website's product page URL structure is as follow. http://www.vistastores.com/marketumbrellas-californiaumbrella-slpt758-f13-red.html http://www.vistastores.com/homefurniture-winsomewood-93630.html URL structure is constructed with following terms. 1. Root Category Name (Market Umbrellas or Home Furniture or ....) 2. Brand Name 3. Manufacturer Part Number I am not happy with this structure and also not performing well over Google's organic search. I am thinking to include product name or title tag in URL after root domain. But, it may create very long URL and create issues in organic search display. Does it really matter to perform well over Google's organic search? How can I define best URL structure for product pages?

                      On-Page Optimization | | CommercePundit
                      0

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy

                    Looks like your connection to Moz was lost, please wait while we try to reconnect.