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
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • 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.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • 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.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • 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.

      • 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. Technical SEO
    4. WooCommerce category naming conventions

    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.

    WooCommerce category naming conventions

    Technical SEO
    2
    3
    513
    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.
    • SushiUK
      SushiUK last edited by

      I am managing a woocommerce store selling prescription glasses/spectacles.

      We have a lot of categories with similar names and I want to adopt the best possible naming convention to get the best from search.

      So we have a number of similar categories for both Men's and women's glasses. Currently they are named as follows:

      Women's Glasses-Women's Rimless Glasses
      -Women's Semi Rimless Glasses
      -Women's Plastic Glasses
      -Women's Metal Glasses
      -Women's Retro Glasses

      Currently, this results in the following URL structure for sub categories:

      https://www.glassesonspec.co.uk/product-category/womens-glasses-2/womens-rimless-glasses/

      (For some reason WooCommerce is adding -2 to the end of the primary category name, it will not let me change it for some reason, this is the subject of a further investigation!)

      So first question, is there too much duplication of the word glasses on the sub items? for example, should they read;

      Women's Glasses
      -Rimless
      -Semi Rimless
      -Plastic
      -Metal
      -Retro

      Hence giving this URL structure:

      https://www.glassesonspec.co.uk/product-category/womens-glasses-2/rimless/

      OR, should we change the top level category name to just Women's and let the sub categories complete the picture?:

      Women's
      -Rimless Glasses
      -Semi Rimless Glasses
      -Plastic Glasses
      -Metal Glasses
      -Retro Glasses

      Giving this example URL structure:

      https://www.xxxxxxxxxxxxx.co.uk/product-category/womens/rimless-glasses/

      This would solve my hyphenation problem, however my fear is the top level category on it's own is not descriptive enough when viewed as stand alone:

      https://www.xxxxxxxxxxxxx.co.uk/product-category/womens/

      The second part of my question relates to how to deal with the change in URL structure. I am using Yoast Premium, so will that pick up the changes and automatically redirect to the new one as it does when done manually? Or will I need to take a different approach using HTACCESS commands?

      I hope the above makes sense,

      Many thanks,

      Bob

      1 Reply Last reply Reply Quote 0
      • SushiUK
        SushiUK @Chris_Hickman last edited by

        Hi Chris,

        Thanks for your response and suggestions. I think I've found a solution to all of the issues I'm currently experiencing!

        https://www.perfectseourl.com/

        This should fix the -2 problem, as I can now dispense with the "product-category" slug completely and also follow your suggestion of going with the "womens" category name etc.

        Many thanks!

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

          The reason for the -2 added to the category permalink is because you have a duplicate name. Even if this category is in the trash it will cause the -2 to be added if a new category is made. Delete any duplicate names in the trash to fix this.

          I would recommend using the shorter category "womens" and if possible shorten the "product-category" slug so that your keywords have a chance to appear in bold the search listing preview.

          Usually your product category links and breadcrumbs will update automatically when the permalink is changed. If you have placed manual links to these categories you may want to consider adding 301 redirects to the updated URLs.

          Hope this helps. Best of luck with your updates.

          SushiUK 1 Reply Last reply Reply Quote 1
          • 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

          • TexasBlogger

            My brand name has 2 words but Google only indexing as 1 word. Is there a fix?

            Hi all...I'm at a loss. I've never had this happen. Google only shows pages of my site when I search the brand name as one word. When I Google the site as one word BrandBrand- it only shows my blog page and about us page plus Twitter and Facebook on page 1.  The homepage does not show up at all. When I Google the site as two words Brand Brand - My Facebook page is on page 1 but nothing else. The homepage isn't showing up at all. When I search both words on Bing and Yahoo both are indexing it as two words and shows on page 1. Any ideas?

            Technical SEO | | TexasBlogger
            0
          • kirupa

            How to fix: Attribute name not allowed on element meta at this point.

            Hello, HTML validator brings "Attribute name not allowed on element meta at this point" for all my meta tags. Yet, as I understand, it is essential to keep meta-description for SEO, for example. I read a couple of articles on how to fix that and one of them suggests considering  HTML5 custom data attribute instead of name: Do you think I should try   to validate my page? And     instead of ? I will appreciate your advise very much!

            Technical SEO | | kirupa
            0
          • SushiUK

            Assigning WooCommerce products to more than one category - Correct methodology?

            I manage a store selling prescription glasses, many of which are unisex or apply to more than one category. I have already assigned the canonical URL for each category, but my question is, if a product appears in more than one category, do I need to set the canonical URL in each product to reflect the category I want it to index under? Therefore, any additional categories that product appears in simply refers the link value back to the canonical URL. I note that in Yoast, under each product, there's note in the canonical setting to leave it empty to default to permalink, so this has confused me a little. I'm just concerned that by applying a product to multiple categories, it may be causing duplicate content, as I have a lot of duplicate issues which I'll raise in another question. Thanks!

            Technical SEO | | SushiUK
            1
          • the-gate-films

            URL Structure On Site - Currently it's domain/product-name NOT domain/category/product name is this bad?

            I have a eCommerce site and the site structure is domain/product-name rather than domain/product-category/product-name Do you think this will have a negative impact SEO Wise? I have seen that some of my individual product pages do get better rankings than my categories.

            Technical SEO | | the-gate-films
            0
          • salvyy

            How to Delete the slug /category/ from wordpress category pages

            Hi all, I would like to ask you what's the better way to eliminate the slug /category/ form the wordpress category pages. I need to delete the slug /category/ to make the url seo frendly. The problem is that my site is an old site with the page indexed by Google for a long time. Thanks for your advice.

            Technical SEO | | salvyy
            0
          • cgman

            Solving duplicate content with WP authors, tags, categories

            I've been kind of neglecting wordpress installations on my websites and noticed many showing duplicate content for pages showing under author and tags, tags and single post, categories and single post. Should this be a concern? Whats the best way of fixing this? Thanks

            Technical SEO | | cgman
            0
          • AC_Pro

            Business name not showing on Google Maps Satellite View

            Hi Everyone, When you go into Google Maps and look at the satellite view, you'll notice business names on some, but not all, businesses--like on the roof of the building. Where do I need to go to get this to work for my business? My Google Places pages are setup properly but as far as I can tell there is no setting for this. Is it the Service Area setting? Currently I have it set to "Yes, this business serves customers at their locations." Perhaps I need to set this to "No." Many thanks, Robert

            Technical SEO | | AC_Pro
            1
          • Carlito-256961

            How do I get Google to display categories instead of the URL in results?

            I've seen that for some domains Google will show a nice clickable site heirarchy in place of the actual URL of a search result.  See attached for an example.  How do I go about achieving this type of results? categorized.png

            Technical SEO | | Carlito-256961
            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
          • Local Citation 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.