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.

    • 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. Intermediate & Advanced SEO
  4. SEO effect of URL with subfolder versus parameters?

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.

SEO effect of URL with subfolder versus parameters?

Intermediate & Advanced SEO
4
7
2.2k
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.
  • Searchout
    Searchout last edited by Apr 6, 2018, 4:28 PM

    I'll make this quick and simple.  Let's say you have a business located in several cities.  You've built individual pages for each city (linked to from a master list of your locations).

    For SEO purposes is it better to have the URL be a subfolder, or a parameter off of the home page URL:

    https://www.mysite.com/dallas  which is essentially https://www.mysite.com/dallas/index.php

    or

    http://www.mysite.com/?city=dallas  which is essentially https://www.mysite.com/index.php?city=dallas

    1 Reply Last reply Reply Quote 0
    • Andrew-SEO
      Andrew-SEO Subscriber @MiriamEllis last edited by Apr 10, 2018, 6:23 AM Apr 10, 2018, 6:23 AM

      Thanks Miriam, This is very helpful and makes a lot of sense. What do you think of towns and villages, or boroughs of a large city. Do you think the close proximity is dangerous territory re: keyword permutations?

      I take your point about unique content tailored to the people of the city - it makes a lot of sense. But what about locations that are closer to each other?

      I know it's a tricky question but any insight would be most welcome.

      1 Reply Last reply Reply Quote 0
      • MiriamEllis
        MiriamEllis Subject Expert @Andrew-SEO last edited by Apr 9, 2018, 2:38 PM Apr 9, 2018, 2:37 PM

        That's a good question, Andrew. It's true that it's no longer a best practice to build out a set of pages featuring slightly different permutations of a keyword  (car repair, auto repair, repairing cars, fixing cars, etc.). That approach is now quite dated. Honestly, it never made any sense beyond the fact that when Google wasn't quite so sophisticated, you could trick your way into some additional rankings with this type of redundant content.

        The development of location landing pages is different. These are of fundamental use to consumers, and the ideal is to create each city's landing page in a way that is uniquely helpful to a specific audience. So, for example, your store in Detroit is now having a special on winter clothing right now, because it's still snowing there. Meanwhile, your store in Palm Beach is already stocking swim trunks. For a large, multi-location Enterprise, location landing pages can feature highly differentiated content, including highlights of regional-appropriate inventory and specials, as well as unique NAP, driving directions, reviews from local customers, and so much more.

        The key to avoiding the trap of simply publishing a large quantity of near-duplicate pages is to put in the effort to research the communities involved and customize these location pages to best fit local needs.

        Andrew-SEO 1 Reply Last reply Apr 10, 2018, 6:23 AM Reply Quote 1
        • MiriamEllis
          MiriamEllis Subject Expert last edited by Apr 9, 2018, 2:31 PM Apr 9, 2018, 2:31 PM

          Hi Searchout,

          Good for you for creating a unique page for each of your locations. I like to keep URLs as simple as possible, for users, so I'd go with:

          mysite.com/dallas

          mysite.com/boston

          mysite.com/chicago

          etc.

          From an SEO perspective, I don't think there's a big difference between root URLs and subfolders. If you're using one structure, I doubt you'd see any difference from doing it differently (unless you were using subdomains, which is a different conversation).

          1 Reply Last reply Reply Quote 0
          • GastonRiera
            Gaston Riera @Andrew-SEO last edited by Apr 9, 2018, 1:07 PM Apr 9, 2018, 1:07 PM

            Of course that cities will be counted.

            That´s why im always reinforcing the idea of creating UNIQUE and Special pages for each keyword.
            Google is getting smarter and smarter, so simple variations in a few words are easly detected.

            Hope it helps.
            Best luck.
            GR.

            1 Reply Last reply Reply Quote 1
            • Andrew-SEO
              Andrew-SEO Subscriber @GastonRiera last edited by Apr 9, 2018, 7:19 AM Apr 9, 2018, 7:19 AM

              Hi

              Thanks for your response I'm interested in this too. I've been targeting cities with their own pages but I head recently that google are going to be clamping down on multiple keyword permutations. Do you think cities will be counted in this?

              GastonRiera MiriamEllis 2 Replies Last reply Apr 9, 2018, 2:37 PM Reply Quote 0
              • GastonRiera
                Gaston Riera last edited by Apr 8, 2018, 11:42 AM Apr 8, 2018, 11:42 AM

                Hi there!

                In my opinion, for SEO purposes it is correct to have a unique page (really different from other, not just changing the city name and location) por each big city you are optimizing.
                Thus said, a subfolder is useful in order to show google the name of the city in the URL. It is common that google considers parameters different than folders.

                Also, remember to avoid duplicate content. /dallas/ and /dallas/index.php should not be accesible and indexable for google. Redirect one to the other or canonicalize one to the other. Same with www, non-www, http and https versions.

                Hope it helps.
                Best luck.
                GR.

                Andrew-SEO 1 Reply Last reply Apr 9, 2018, 7:19 AM Reply Quote 1
                • 1 / 1
                1 out of 7
                • First post
                  1/7
                  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

                  Merging Pages and SEO

                  Hi, We are redesigning our website the following way: Before: Page A with Content A, Page B with Content B, Page C with Content C, etc
                  e.g. one page for each Customer Returns, Overstocks, Master Case, etc
                  Now: Page D with content A + B + C etc.
                  e.g. one long page containing all Product Conditions, one after the other So we are merging multiples pages into one.
                  What is the best way to do so, so we don't lose traffic? (or we lose the minimum possible) e.g. should we 301 Redirect A/B/C to D...?
                  Is it likely that we lose significant traffic with this change? Thank you,

                  Intermediate & Advanced SEO | Oct 2, 2016, 2:48 PM | viatrading1
                  0
                • NickG-123

                  Site-wide Canonical Rewrite Rule for Multiple Currency URL Parameters?

                  Hi Guys, I am currently working with an eCommerce site which has site-wide duplicate content caused by currency URL parameter variations. Example: https://www.marcb.com/ https://www.marcb.com/?setCurrencyId=3 https://www.marcb.com/?setCurrencyId=2 https://www.marcb.com/?setCurrencyId=1 My initial thought is to create a bunch of canonical tags which will pass on link equity to the core URL version. However I was wondering if there was a rule which could be implemented within the .htaccess file that will make the canonical site-wide without being so labour intensive. I also noticed that these URLs are being indexed in Google, so would it be worth setting a site-wide noindex to these variations also? Thanks

                  Intermediate & Advanced SEO | Jul 25, 2016, 4:50 PM | NickG-123
                  0
                • Solid_Gold

                  Why is rel="canonical" pointing at a URL with parameters bad?

                  Context Our website has a large number of crawl issues stemming from duplicate page content (source: Moz). According to an SEO firm which recently audited our website, some amount of these crawl issues are due to URL parameter usage. They have recommended that we "make sure every page has a Rel Canonical tag that points to the non-parameter version of that URL…parameters should never appear in Canonical tags." Here's an example URL where we have parameters in our canonical tag... http://www.chasing-fireflies.com/costumes-dress-up/womens-costumes/ rel="canonical" href="http://www.chasing-fireflies.com/costumes-dress-up/womens-costumes/?pageSize=0&pageSizeBottom=0" /> Our website runs on IBM WebSphere v 7. Questions Why it is important that the rel canonical tag points to a non-parameter URL? What is the extent of the negative impact from having rel canonicals pointing to URLs including parameters? Any advice for correcting this? Thanks for any help!

                  Intermediate & Advanced SEO | Jan 22, 2016, 3:35 PM | Solid_Gold
                  1
                • jayoliverwright

                  Duplicate URLs ending with #!

                  Hi guys, Does anyone know why a site can contain duplicate URLs ending with hastag & exclamation mark e.g. https://site.com.au/#! We are finding a lot of these URLs (as duplicates) and i was wondering what they are from developer standpoint? And do you think it's worth the time and effort adding a rel canonical tag or 301 to these URLs eventhough they're not getting indexed by Google? Cheers, Chris

                  Intermediate & Advanced SEO | Nov 2, 2015, 5:34 PM | jayoliverwright
                  0
                • CarlosZambrana

                  SEO time

                  I wanto to be in the top of the google search. I am usiing a lot of SEO tools but... I have done it  during one month. Do I have to wait more?

                  Intermediate & Advanced SEO | Mar 27, 2015, 5:47 AM | CarlosZambrana
                  0
                • Travis-W

                  Ending URLs in .html versus /

                  Hi there! Currently all the URLs on my website, even the home page, end it .html, such as http://www,consumerbase.com/index.html Is this bad?
                  Is there any benefit to this? Should I remove it and just have them end with a forward slash?
                  If I 301 redirect the old .html URLs to the forward slash URLs, will I lose PA? Thanks!

                  Intermediate & Advanced SEO | Jun 21, 2013, 5:24 PM | Travis-W
                  0
                • dellamoda

                  Overly-Dynamic URL

                  Hi, We have over 5000 pages showing under Overly-Dynamic URL error Our ecommerce site uses Ajax and we have several different filters like, Size, Color, Brand and we therefor have many different urls like, http://www.dellamoda.com/Designer-Pumps.html?sort=price&sort_direction=1&use_selected_filter=Y http://www.dellamoda.com/Designer-Accessories.html?sort=title&use_selected_filter=Y&view=all http://www.dellamoda.com/designer-handbags.html?use_selected_filter=Y&option=manufacturer%3A&page3 Could we use the robots.txt file to disallow these from showing as duplicate content? and do we need to put the whole url in there? like: Disallow: /*?sort=price&sort_direction=1&use_selected_filter=Y if not how far into the url should be disallowed? So far we have added the following to our robots,txt Disallow: /?sort=title Disallow: /?use_selected_filter=Y Disallow: /?sort=price Disallow: /?clearall=Y Just not sure if they are correct. Any help would be greatly appreciated. Thank you,Kami

                  Intermediate & Advanced SEO | Nov 19, 2012, 6:09 AM | dellamoda
                  2
                • WebMarketingandDesign

                  Multiple URLs for the same page

                  I am working with a client and recently discovered that they have several URLs that go to the same page. http://www.maps.com/FunFacts.aspx
                  http://www.maps.com/funfacts.aspx
                  http://www.maps.com/FunFacts.aspx?nav=FF
                  http://www.maps.com/FunFacts.aspx?nav=FS
                  http://www.maps.com/funfacts.aspx?nav=FF
                  http://www.maps.com/funfacts.aspx?nav=ffhttp://www.maps.com/FunFacts.aspx?nav=MShttp://www.maps.com/funfacts.aspx?nav=
                  http://www.maps.com/FunFacts.aspx?nav=FF#
                  http://www.maps.com/FunFacts
                  http://www.maps.com/funfacts.aspx?.nav=FF I am afraid this is happening all over the site. So, my question is: Is this hurting the SEO and how? If so what is the best way to go about fixing this problem? Thanks for your help!

                  Intermediate & Advanced SEO | Nov 17, 2011, 11:15 PM | WebMarketingandDesign
                  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.