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

                • ennovators

                  Replace dynamic paramenter URLs with static Landing Page URL - faceted navigation

                  Hi there, got a quick question regarding faceted navigation. If a specific filter (facet) seems to be quite popular for visitors. Does it make sense to replace a dynamic URL e.x http://www.domain.com/pants.html?a_type=239 by a static, more SEO friendly URL e.x http://www.domain.com/pants/levis-pants.html by creating a proper landing page for it. I know, that it is nearly impossible to replace all variations of this parameter URLs by static ones but does it generally make sense to do this for the most popular facets choose by visitors. Or does this cause any issues? Any help is much appreciated. Thanks a lot in advance

                  Intermediate & Advanced SEO | Jul 9, 2015, 5:26 PM | ennovators
                  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
                • shloy23-294584

                  SEO impact difference between a URL Rewrite and 301 redirect

                  Hi guys and girls! Just putting a new site live, we changed the URL from one thing to another and I created a 301 file redirecting the urls like for like. The developer installing it has created a different file with columns like: RewriteRule ^page/ http://www.site/page [R=301,L] RewriteRule ^/page/ http://www.site/page [R=301,L] What's the difference? The page redirects but is there a difference between the 301 redirect and this URL rewrite in terms of SEO and link value?

                  Intermediate & Advanced SEO | Oct 16, 2014, 12:52 PM | shloy23-294584
                  0
                • Atlanta-SMO

                  Does Google Read URL's if they include a # tag? Re: SEO Value of Clean Url's

                  An ECWID rep stated in regards to an inquiry about how the ECWID url's are not customizable, that "an important thing is that it doesn't matter what these URLs look like, because search engines don't read anything after that # in URLs. " Example http://www.runningboards4less.com/general-motors#!/Classic-Pro-Series-Extruded-2/p/28043025/category=6593891 Basically all of this: #!/Classic-Pro-Series-Extruded-2/p/28043025/category=6593891 That is a snippet out of a conversation where ECWID said that dirty urls don't matter beyond a hashtag... Is that true? I haven't found any rule that Google or other search engines (Google is really the most important) don't index, read, or place value on the part of the url after a # tag.

                  Intermediate & Advanced SEO | Oct 11, 2014, 2:26 PM | Atlanta-SMO
                  0
                • tomcraig86

                  Canonical URL & sitemap URL mismatch

                  Hi We're running a Magento store which doesn't have too much stock rotation. We've implemented a plugin that will allow us to give products custom canonical URLs (basically including the category slug, which is not possible through vanilla Magento). The sitemap feature doesn't pick up on these URLs, so we're submitting URLs to Google that are available and will serve content, but actually point to a longer URL via a canonical meta tag. The content is available at each URL and is near identical (all apart from the breadcrumbs) All instances of the page point to the same canonical URL We are using the longer URL in our internal architecture/link building to show this preference My questions are; Will this harm our visibility? Aside from editing the sitemap, are there any other signals we could give Google? Thanks

                  Intermediate & Advanced SEO | Sep 9, 2014, 7:15 AM | tomcraig86
                  0
                • andrep

                  If you have an unlimited SEO budget, what would you do?

                  Here's a bit of background information: I've achieved the targets and is now being offered what is essentially an unlimited budget. I have a nice list of ideas but thought I would the brilliant people here at the SEOMOZ community what they would do. So as to promote as much response as possible, I'm going to keep my list to myself for now. And by "SEO", I mean I can do things like content strategy, blogging, infographics, etc. Shoot away!

                  Intermediate & Advanced SEO | Apr 12, 2012, 9:17 AM | andrep
                  0
                • AndreVanKets

                  Is it safe to redirect multiple URLs to a single URL?

                  Hi, I have an old Wordress website with about 300-400 original pages of content on it. All relating to my company's industry: travel in Africa. It's a legitimate site with travel stories, photos, advice etc. Nothing spammy about. No adverts on it. No affiliates. The site hasn't been updated for a couple of years and we no longer have a need for it. Many of the stories on it are quite out of date. The site has built up a modest Mozrank value over the last 5 years, and has a few hundreds organically achieved inbound links. Recently I set up a swanky new branded website on ExpressionEngine on a new domain. My intention is to: Shut down the old site Focus all attention on building up content on the new website Ask the people linking to the old site to my new site instead (I wonder how many will actually do so...) Where possible, setup a 301 redirect from pages on the old site to their closest match on the new site Setup a 301 redirect from the old site's home page to new site's homepage Sounds good, right? But there is one issue I need some advice on... The old site has about 100 pages that do not have a good match on the new site. These pages are outdated or inferior quality, so it doesn't really make sense to rewrite them and put them on the new site. I call these my "black sheep pages". So... for these "black sheep pages" should I (A) redirect the urls to the new site's homepage (B) redirect the urls the old site's home page (which in turn, redirects to the new site's homepage, or (C) not redirect the urls, and let them die a lonely 404 death? OPTION A: oldsite.com/page1.php -> newsite.com
                  oldsite.com/page2.php -> newsite.com
                  oldsite.com/page3.php -> newsite.com
                  oldsite.com/page4.php -> newsite.com
                  oldsite.com/page5.php -> newsite.com
                  oldsite.com -> newsite.com OPTION B: oldsite.com/page1.php -> oldsite.com
                  oldsite.com/page2.php -> oldsite.com
                  oldsite.com/page3.php -> oldsite.com
                  oldsite.com/page4.php -> oldsite.com
                  oldsite.com/page5.php -> oldsite.com
                  oldsite.com -> newsite.com OPTION 😄 oldsite.com/page1.php : do not redirect, let page 404 and disappear forever
                  oldsite.com/page2.php : do not redirect, let page 404 and disappear forever
                  oldsite.com/page3.php : do not redirect, let page 404 and disappear forever
                  oldsite.com/page4.php : do not redirect, let page 404 and disappear forever
                  oldsite.com/page5.php : do not redirect, let page 404 and disappear forever
                  oldsite.com -> newsite.com My intuition tells me that Option A would pass the most "link juice" to my new site, but I am concerned that it could also be seen by Google as a spammy redirect technique. What would you do? Help 😐

                  Intermediate & Advanced SEO | Oct 6, 2011, 11:41 AM | AndreVanKets
                  1
                • Sayers

                  How do you implement dynamic SEO-friendly URLs using Ajax without using hashbangs?

                  We're building a new website platform and are using Ajax as the method for allowing users to select from filters. We want to dynamically insert elements into the URL as the filters are selected so that search engines will index multiple combinations of filters. We're struggling to see how this is possible using symfony framework. We've used www.gizmodo.com as an example of how to achieve SEO and user-friendly URLs but this is only an example of achieving this for static content. We would prefer to go down a route that didn't involve hashbangs if possible. Does anyone have any experience using hashbangs and how it affected their site? Any advice on the above would be gratefully received.

                  Intermediate & Advanced SEO | Aug 24, 2011, 12:19 PM | Sayers
                  1

                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.