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

    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
    • 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. Technical SEO
  4. URL - Well Formed or Malformed

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 - Well Formed or Malformed

Technical SEO
3
8
2.3k
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.
  • well-its-1-louder
    well-its-1-louder last edited by Jun 2, 2013, 11:34 AM

    Hi Mozzers,

    I've been mulling over whether my URLs could benefit a little SEO tweaking. I'd be grateful for your opinion.

    For instance, we've a product, a vintage (second hand), red Chanel bag. At the moment the URL is:

    www.vintageheirloom.com/vintage-chanel-bags/2.55-bags/red-2.55-classic-double-flap-bag-1362483150

    Broken down...

    vintage-chanel-bags = this is the main product category, i.e. vintage chanel bags

    2.55-bags = is a sub category of the main category above. They are vintage Chanel 2.55 bags, but I've not included 'vintage' again. 2.55 bags are a type of Chanel bag.

    red-2.55-classic-double-flap-bag = this is the product, the bag

    **1362483150 **= this is a unique id, to prevent the possibility of duplicate URLs

    As you no doubt can see we target, in particular, the phrase **vintage. **The actual bag / product title is: Vintage Chanel Red 2.55 classic double flap bag 10” / 25cm

    With this in mind, would I be better off trying to match the product name with the end of the URL as closely as possible?

    So a close match below would involve not repeating 'chanel' again:

    www.vintageheirloom.com/chanel-bags/2.55-bags/vintage-red-2.55-classic-double-flap-bag

    or an exact match below would involve repeating 'chanel':

    www.vintageheirloom.com/chanel-bags/2.55-bags/vintage-chanel-red-2.55-classic-double-flap-bag

    This may open up more flexibility to experiment with product terms like second hand, preowned etc.

    Maybe this is a bad idea as I'm removing the phrase 'vintage' from the main category. But this logical extension of this looks like keyword stuffing !!

    www.vintageheirloom.com/vintage-chanel-bags/vintage-2.55-bags/vintage-chanel-red-2.55-classic-double-flap-bag

    Maybe this is over analyzing, but I doubt it?

    Thanks for looking.

    Kevin

    1 Reply Last reply Reply Quote 0
    • well-its-1-louder
      well-its-1-louder last edited by Jun 3, 2013, 2:12 PM Jun 3, 2013, 2:12 PM

      Thanks Everett,

      Strange, the product on the website appears in two places, on the homepage 'Featured' product, and in the Chanel > 2.55 bags category. When I check both I only see the product name after the .com/.

      Thanks for the heads up about restructuring to match the rel canonical, makes perfect sense. I'll be moving over to Wordpress, Woocomerce at some point in the future. I'll look into making the linkable URL neat and tidy as suggested.

      Much appreciated...

      Kevin

      1 Reply Last reply Reply Quote 0
      • Everett
        Everett @well-its-1-louder last edited by Jun 3, 2013, 1:19 PM Jun 3, 2013, 1:19 PM

        The product I checked (see above) had rel canonical tags that used the first category (though not the second / sub-category). That is different than what you listed as "default" above.

        Having the default rel canonical tag be .com/product-name-UniqueID/ is fine too. The important thing here is that you should be consistent. Also realize that using the rel canonical tag like this is sort of a temporary band-aid. Ideally you would be linking to the canonical URL and displaying the canonical URL instead of linking to and displaying the non-canonical URL on the site and relying on the rel canonical tag to "fix" it.

        That should be fine for now. At some point in the future you probably want to make .com/product-name-UniqueID the version that gets linked to from elsewhere on the site (such as category pages) and for all other versions of that URL to 301 redirect to it.

        1 Reply Last reply Reply Quote 1
        • well-its-1-louder
          well-its-1-louder last edited by Jun 3, 2013, 1:10 PM Jun 3, 2013, 1:10 PM

          Hi Everett,

          Thank you for your considered response.

          Choice wise, I feel fairly constrained by my shopping cart (Opencart, and lack of technical ability !

          So am I correct in thinking that Google reads the rel canonical, not what appears in the URL? I've checked the generated rel canonical & by default it takes just the product name, probably as products, as you say, can be in more than 1 category. So I get: www.vintageheirloom.com/red-2.55-classic-double-flap-bag-1362483150

          As you say this omits the term chanel & vintage.

          With no understanding of how to implement your suggestion of putting all products into a 'products' category I think it might be safer for me to leave as is... for now. I'll certainly bear this in mind when I next rebuild the website, all good food for thought.

          Thanks!

          Everett 1 Reply Last reply Jun 3, 2013, 1:19 PM Reply Quote 1
          • Everett
            Everett last edited by Jun 3, 2013, 1:00 PM Jun 3, 2013, 12:31 PM

            Hello Mr. Vintage Heirloom,

            Takeshi has some great points about priorities, and avoiding keyword stuffing your URLs. I might add, however, that putting category directories in product URLs has two major disadvantages that, in my opinion, usually outweigh the advantage of having those keywords in the URL.

            #1 - If the product exists in multiple categories you risk having more than one URL for the product. This can be mitigated with redirects or rel canonical tags, but is still a pain. Here's an example:
            http://www.vintageheirloom.com/vintage-chanel-bags/red-2.55-classic-double-flap-bag-1362483150
            http://www.vintageheirloom.com/vintage-chanel-bags/2.55-bags/red-2.55-classic-double-flap-bag-1362483150
            The bag's URL can be accessed from at least two different URLs (some products could have many more versions) and the canonical tag says that the shorter of the two URLs above is the canonical version. If that is the case the keywords in your /2.55-bags/ directory are useless as a ranking factor for that particular product page since that directory is not in the rel canonical tag.

            Yes you can avoid the issues presented by multiple URL versions of the page, and some sites only ever put a product into a single category. However, that does nothing to account for this...

            #2 - The deeper your category structure goes the further away from the root your product pages are. I have seen product pages five or six folders deep across entire eCommerce sites because of this. While I don't think the entire site architecture should be completely flat (some sort of taxonomy in the URLs is logical and useful) you don't want your most important pages to be several folders deep either.

            I always recommend going with this:
            site.com/products/product-name/
            Or in your case:

            site.com/products/product-name-uniqueID/

            Putting the products into the /products/ directory is that level of useful taxonomy I mentioned above. This allows you, for instance, to do a search on Google like (site:domain.com inurl:products) to see how many of your product pages are indexed. The same type of logic is useful when segmenting analytics reports or WMT exports in Excel, among other uses.

            Then you don't have to worry about keyword stuffing due to keywords already contained in the category directory portion of the URL.

            This is just one person's opinion though. Some may disagree. I just don't find keywords in the URL to be all that important these days compared to other things. It has been spammed to death and thus the importance attributed to that factor has been steadily declining over the years, at least to my observation.

            Regarding 301 redirects, they don't really cost you any appreciable amount of pagerank. It truly is negligible as long as you're not going through several redirect hops at once. The key is to make up your mind about your URLs with an eye to the future scalability and useability of the site - and stick with it. One round of redirects will temporarily set you back in the SERPs, but you should bounce back within a couple of weeks (good time of year to do them!) if done correctly.

            Good luck!

            1 Reply Last reply Reply Quote 1
            • TakeshiYoung
              TakeshiYoung last edited by Jun 2, 2013, 7:13 PM Jun 2, 2013, 7:13 PM

              Remember that every keyword you add to your URL decreases the value of every other keyword you have in the URL. You want to include a few keywords in your URL for SEO value, but not so many that it dilutes the value of the other keywords. Also, having an overly long URL is a poor user experience.

              So in this case, I would not include the word "vintage" in your URL for a 3rd time, because the SEO value is marginal and it will dilute the value of your other keywords, as well as making an already long URL even longer. And like I said, changing your URL structure will result in a loss of PageRank.

              1 Reply Last reply Reply Quote 2
              • well-its-1-louder
                well-its-1-louder last edited by Jun 2, 2013, 7:06 PM Jun 2, 2013, 7:05 PM

                Thanks Takeshi,

                Good to know. Any harm in adding an additional 'vintage' here to match H2 product name?

                www.vintageheirloom.com/vintage-chanel-bags/2.55-bags/vintage-chanel-red-2.55-classic-double-flap-bag...

                Or does that look spammy?

                1 Reply Last reply Reply Quote 0
                • TakeshiYoung
                  TakeshiYoung last edited by Jun 2, 2013, 7:04 PM Jun 2, 2013, 6:52 PM

                  If you've been running your site for a while, I would recommend against changing your URL structure as 301s do result in some loss of link value, and you will likely see your rankings drop. The URLs you have now aren't bad, so I would focus on higher value activities such as link building. Ultimately, Google weighs offsite factors more highly than a few on-site tweaks.

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  1 out of 8
                  • First post
                    1/8
                    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

                  • Dingos

                    URL structure for same product in multiple categories?

                    url inspection breadcrumbs technical seo seo tactics

                    Hello everyone ! I am building an ecom store using wordpress. I have assigned multiple categories to the same product. What should be the URL structure when users are navigating with different product categories? Categories Assigned: tshirt, blue, striped
                    Product Name: blue-striped-tshirt Option 01: Matching site navigation breadcrumb to product url URL - ecomstore.com/tshirt/blue-striped-tshirt
                    Breadcrumb - home/tshirt/blue-striped-tshirt URL - ecomstore.com/blue/blue-striped-tshirt (canonical to 1 product page)
                    Breadcrumb - home/color/blue/blue-striped-tshirt URL - ecomstore.com/striped/blue-striped-tshirt (canonical to 1 product page)
                    Breadcrumb - home/type/striped/blue-striped-tshirt Option 02: Same product urls and different breadcrumbs based on user site navigation URL - ecomstore.com/tshirt/blue-striped-tshirt
                    Breadcrumb - home/tshirt/blue-striped-tshirt URL - ecomstore.com/tshirt/blue-striped-tshirt (url same as 1 product page)
                    Breadcrumb - home/color/blue/blue-striped-tshirt URL - ecomstore.com/tshirt/blue-striped-tshirt (url same as 1 product page)
                    Breadcrumb - home/type/striped/blue-striped-tshirt I have decided to got with Option 01 so that the product in each category can be ranked according to each category keyword. Which option is the best according to your experience or is there any other best practice?

                    Technical SEO | Apr 2, 2023, 8:16 AM | Dingos
                    0
                  • vcj

                    Include or exclude noindex urls in sitemap?

                    We just added tags to our pages with thin content. Should we include or exclude those urls from our sitemap.xml file? I've read conflicting recommendations.

                    Technical SEO | Oct 20, 2016, 4:30 AM | vcj
                    0
                  • RosemaryB

                    Old URLs Appearing in SERPs

                    Thirteen months ago we removed a large number of non-corporate URLs from our web server.  We created 301 redirects and in some cases, we simply removed the content as there was no place to redirect to. Unfortunately, all these pages still appear in Google's SERPs (not Bings) for both the 301'd pages and the pages we removed without redirecting.  When you click on the pages in the SERPs that have been redirected - you do get redirected - so we have ruled out any problems with the 301s. We have already resubmitted our XML sitemap and when we run a crawl using Screaming Frog we do not see any of these old pages being linked to at our domain. We have a few different approaches we're considering to get Google to remove these pages from the SERPs and would welcome your input. Remove the 301 redirect entirely so that visits to those pages return a 404 (much easier) or a 410 (would require some setup/configuration via Wordpress).  This of course means that anyone visiting those URLs won't be forwarded along, but Google may not drop those redirects from the SERPs otherwise. Request that Google temporarily block those pages (done via GWMT), which lasts for 90 days. Update robots.txt to block access to the redirecting directories. Thank you. Rosemary One year ago I removed a whole lot of junk that was on my web server but it is still appearing in the SERPs.

                    Technical SEO | Feb 26, 2016, 10:02 PM | RosemaryB
                    3
                  • seogirl22

                    Vanity URLs are being indexed in Google

                    We are currently using vanity URLs to track offline marketing, the vanity URL is structured as www.clientdomain.com/publication, this URL then is 302 redirected to the actual URL on the website not a custom landing page. The resulting redirected URL looks like:  www.clientdomain.com/xyzpage?utm_source=print&utm_medium=print&utm_campaign=printcampaign. We have started to notice that some of the vanity URLs are being indexed in Google search. To prevent this from happening should we be using a 301 redirect instead of a 302 and will the Google index ignore the utm parameters in the URL that is being 301 redirect to?  If not, any suggestions on how to handle? Thanks,

                    Technical SEO | Dec 1, 2015, 10:22 PM | seogirl22
                    1
                  • BarcelonaExperience

                    Is it Detrimental to Repeat a Word in Our URL?

                    Hey guys! We run a tour company in Barcelona. Our company name is Barcelona Experience. We're customizing our URL's to include keywords which can be found in all the important areas on the page (title tage, meta descp., etc).
                    We want to change "www.barcelonaexperience.com/bike-tours" to "www.barcelonaexperience.com/barcelona-bike-tours"
                    We're worried the repetition of "barcelona" could be a bad thing. True, or not true? Thanks!

                    Technical SEO | Feb 2, 2015, 9:52 AM | BarcelonaExperience
                    0
                  • Diana.varbanescu

                    Spaces (actual spaces) in URL

                    Hi all, Is there a huge loss of SEO performance if a URL shows spaces with an actual space (i.e. %20) in the URL rather than a "-" (or indeed a "_")? I know the preferred option is to have a "-", but I am just wondering if it is worth our effort to manually change the "%20" to a "-" in all the instances? Thanks 🙂 Diana

                    Technical SEO | Sep 3, 2013, 12:37 AM | Diana.varbanescu
                    0
                  • joechicago

                    MozBar picking up iFrame source as URL

                    Running a WordPress site with a custom theme. Using a standard wp_head or wp_footer hook to insert the standard code for a Facebook Like, Twitter count / Google Plus count into the site - basically that hook just places the code, programmatically, into the HEAD (where applicable) or right before the BODY closes. For some reason, MozBar is picking up the URL of the iFrame that gets inserted with this code as the URL of the site. I don't have it live right now due to the issues, but I can turn it "on" for anyone who wants a look. Anyone else have this issue? I'm using the code directly from developers.facebook.com for the Like box, and the Google Plus button, Twitter too. Nothing fancy here.

                    Technical SEO | Jun 5, 2012, 8:25 PM | joechicago
                    0
                  • AJ234

                    404 errors on non-existent URLs

                    Hey guys and gals, First Moz Q&A for me and really looking forward to being part of the community. I hope as my first question this isn't a stupid one but I was just struggling to find any resource that dealt with the issue and am just looking for some general advice. Basically a client has raised a problem with 404 error pages - or the lack thereof- on non-existent URLs on their site; let's say for example: 'greatbeachtowels.com/beach-towels/asdfas' Obviously content never existed on this page so its not like you're saying 'hey, sorry this isn't here anymore'; its more like- 'there was never anything here in the first place'. Currently in this fictitious example typing in 'greatbeachtowels.com/beach-towels/asdfas**'** returns the same content as the 'greatbeachtowels.com/beach-towels' page which I appreciate isn't ideal. What I was wondering is how far do you take this issue- I've seen examples here on the seomoz site where you can edit the URI in a similar manner and it returns the same content as the parent page but with the alternate address. Should 404's be added across all folders on a site in a similar way? How often would this scenario be and issue particularly for internal pages two or three clicks down? I suppose unless someone linked to a page with a misspelled URL... Also would it be worth placing 301 redirects on a small number of common mis-spellings or typos e.g. 'greatbeachtowels.com/beach-towles' to the correct URLs as opposed to just 404s? Many thanks in advance.

                    Technical SEO | Jan 30, 2012, 9:46 AM | AJ234
                    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.