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

                    • maghanlinchpinsales

                      City Name in URL structure

                      I have a client whose site was built when they only served one market, and they now have that city in the majority of their URLs. I'm suggesting we redo the URL structure to remove this location from the main URLs (think homepage, about, etc.) since they have now expanded to three markets. They are seeing a lot of great organic traffic in that original market but are struggling in the new ones they've added so I'm helping to optimize their site. How critical do you think that removing that location from the URL is? I know we would need to implement 301 redirects, but wanted to get thoughts on this.

                      On-Page Optimization | | maghanlinchpinsales
                      0
                    • WorkhorseMKT

                      Phone number formatting - Periods vs Dashes

                      Are there any best practices on phone number formatting regarding using periods XXX.XXX.XXXX vs dashes XXX-XXX-XXXX? What about using parentheses on the area code (XXX)XXX-XXX? This is regarding a phone number on a contact apge...

                      On-Page Optimization | | WorkhorseMKT
                      0
                    • adrecom

                      Are the prepositions and separate letters in URL bad for website optimization?

                      Is it ok for website optimization to use prepositions and separate letters in URL ? Examples: -i-series ; -salad-with-avocado etc.

                      On-Page Optimization | | adrecom
                      0
                    • doctecs

                      Link flow for multiple links to same URL

                      Hi there,
                      my question is as follows: How does Google handle link flow if two links in a given page point to the same URL? (do they flow link individually or not?) This seems to be a newbie question, but actually it seems that there is little evidence and even also little consensus in the SEO community about this detail. Answers should include source Information about the current state of art at Google is preferable The question is not about anchor text, general best practises for linking, "PageRank is dead" etc. We do know that the "historical" PageRank was implemented (a long time ago) without special handling for multiple links, as e.g. last stated by Matt Cutts in this video: http://searchengineland.com/googles-matt-cutts-one-page-two-links-page-counted-first-link-192718 On the other hand, many people from the SEO community say that only the first link counts. But so far I could not find any data to back this up, which is quite surprising.

                      On-Page Optimization | | doctecs
                      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
                    • webbutler13

                      Correct .htaccess settings for canonical url?

                      I want to forward all urls to http:www.mysite.com but am a little confuse because I am getting duplicate content error: Pages with Duplicate Page Content as of Jan 15http://titanappliancerepair.com/ 1 duplicatehttp://titanappliancerepair.com 1 duplicatehttp://titanappliancerepair.com/index.html 1 duplicate*****************************************************************What should I put ion htaccess file so I can forwardhttp://titanappliancerepair.com/index.htmlhttp://titanappliancerepair.comhttp://titanappliancerepair.com/to  http://www.titanappliancerepair.comor what is the correct way to do it?I'm confused because when I enter http://titanappliancerepair.com/ in browser it showshttp://titanappliancerepair.com so how can it be considered duplicate content?.Can someone help?I have godaddy and they have gave me this code to put RewriteEngine on
                      rewritecond %{http_host} ^coolexample.com [nc]
                      rewriterule ^(.)$ http://www.coolexample.com/$1 [r=301,nc]What is correct?

                      On-Page Optimization | | webbutler13
                      0
                    • rohanarora536

                      Which is Best Practice for creating URLs for subdomain?

                      My website is related to education. We have created sub domains for all major colleges, universities & Entrance exams like Gre, Toefl ETC. for eg:  amityuniversity.abc.com (Amity is Name of University ) Now if have to mention city name in URL as well (college is located in multiple locations) amityuniversity-delhi.abc.com
                      amityuniversitydelhi.abc.com Now my Q is can we use hyphens in sub domains if we have to add city name or shall we create without using any  hyphens. In Directory  structure we can always separate words with hyphens, can we follow same practice in subdomain as well Which is a  best URL for subdomain amity-university-delhi.abc.com
                      amityuniversity-delhi.abc.com
                      or amityuniversitydelhi.abc.com

                      On-Page Optimization | | rohanarora536
                      0
                    • JesseCWalker

                      How long is too long for domain URL length?

                      I noticed one of the negatively correlated ranking factors was length of URL.  I'm building a page from scratch, we are trying to rank for 'Minneapolis Fitness' and 'Minneapolis Massage'. Is www.minnnepolismassageandfitness.com  just ridiculously long?  Or does the exact match outweigh the penalty for URL length?

                      On-Page Optimization | | JesseCWalker
                      2

                    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.