The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Change in url structure - added category page

    Change in url structure - added category page

    Technical SEO Issues
    4 3 818
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bitte
      bitte last edited by

      I have recently started an e-commerce website and have now changed the url structure and added another level to my category pages.

      So where it before was www.website.com/shirts it is now www.website.com/clothes/shirts. So I added the clothes category (just an example) before the shirt category and am now finding that the old url is still found in the search index and is still live on my site. How could this be?

      I use wordpress and simply change the urls in the backend. The products are still under www.website.com/product/blue-shirt-123 so they won't be affected but I suppose it now means I have duplicate category pages?

      So my question is: Should I 301 the the old category page (www.website.com/shirts)to the new url (www.website.com/clothes/shirts). And how can the old url still be live on my site?

      If this was a bit unclear, please let me know.

      Appreciate your replies!

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

        You can literally put anything in the category part of the URL and it will resolve.

        Try www.website.com/fhqwhgads/shirts and it will still resolve, heck throw another directory in there and it will still work www.website.com/fhqwhgads/zomg/shirts

        As for why it does that, I'm probably not the best person to explain, but WP effectively just looks for the end of the URL, which is sometimes why naming pages and posts the same can cause problems.

        I'm not sure what would happen if you 301'd /shirts to /clothes/shirts as it may just be looking at the last part anyway (could quickly try).

        I'd consider adding a canonical tag instead.

        bitte 1 Reply Last reply Reply Quote 0
        • bitte
          bitte @StalkerB last edited by

          Ok, I see that now, thanks. Does this also mean I do not have a duplicate pages (duplicate content) issue then?

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

            Hey There

            What Barry says is true - you can throw anything in there and it will load, as long as the category is at the end.

            But yes, for certain, in your case I would 301 redirect /shirts to /clothes/shirts (and all other categories). Crawl the site with Screaming Frog and keep an eye on 404 errors in Webmaster Tools for anything you might have missed.

            I don't think there's any issue in regards to duplicate content.

            -Dan

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • URL structure change for pages without traffic: 301 redirect or not ?
              BlueCorona
              BlueCorona
              0
              5
              96

            • Category URL Pagination where URLs don't change between pages
              whiteonlySEO
              whiteonlySEO
              0
              7
              656

            • Want to change URL for a page
              RyanPurkey
              RyanPurkey
              0
              2
              39

            • How can I change the page title "two" (artigos/page/2.html) in each category ?
              sprynewmedia
              sprynewmedia
              0
              3
              118

            • Changed URL of all web pages to a new updated one - Keywords still pick the old URL
              danatanseo
              danatanseo
              0
              2
              331

            • How to keep a URL social equity during a URL structure/name change?
              OlegKorneitchouk
              OlegKorneitchouk
              0
              4
              464

            • Best URL Structure for Product Pages?
              dianeb152
              dianeb152
              0
              6
              678

            • URLs: To Change or Not to Change
              94501
              94501
              0
              8
              1.2k

            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
            • Digital Marketers
            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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy