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. White Hat / Black Hat SEO
    4. URL Structure - forward slashes, hyphen separated, query paramters

    URL Structure - forward slashes, hyphen separated, query paramters

    White Hat / Black Hat SEO
    2 2 451
    • 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.
    • proptiger
      proptiger last edited by

      I am having difficulty evaluating pros and cons of various URL structures with respect to SEO benefits. So I can have the following

      1. /for-sale-in-<city>-<someothertext>-<uniqueid>.php
      So in this case a term like 'for sale in San Francisco' is directly part of the URL. </uniqueid></someothertext></city>

      2. /for-sale/<city>/<someothertext>uniqueId
      Here 'for sale in San Francisco' is not so direct in the URL, so I think. Also I 'heard' that forward slash URLs are somehow considered as being 'lower down' in the directory structure.  </someothertext></city>

      3. /for-sale/<city>/<someothertext>/?pid=uniqueId</someothertext></city>

      someOtherText contains keywords we are targeting.

      1. Is there a preference of one format over the other?

      2. Does it even matter?

      3. someOtherText - does it makes sense to put keywords in the URL for just SEO purposes? I do not per se need someOtherText for functionality.

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

        When Ever I create URLs I only care about few things that are as follows!

        -          The URL should not contain any special characters so anything that contain “?” “&” or similar stuff should not be your choice!

        -          I prefer to add the keywords in it but having a complete key phrases in not necessary!

        -          What I really prefer is that the keyword length should be short

        In your case ideally you should choose a URL that is contain no special string, should have keyword in it (it’s not necessary to have a exact match key phrase) and URL length should ne as short as possible.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • URL masking
          0
          1
          29

        • Does this URL need rewriting?
          BobGW
          BobGW
          0
          5
          88

        • Should I add the canonical URL/homepage (http://www.domain.com) in the secured version of my home URL (https://www.domain.com)?
          esiow2013
          esiow2013
          0
          3
          165

        • Can I 301 redirect old URLs to staging URLs (ex. staging.newdomain.com) for testing?
          esiow2013
          esiow2013
          0
          3
          260

        • Difference of Web/URL forwarding and 301 redirection from SEO standpoint?
          Ratan
          Ratan
          0
          2
          126

        • Suggestions in redirecting an old URL to new URL with parenthesis () ?
          ThompsonPaul
          ThompsonPaul
          0
          4
          306

        • URL structure: 301 redirect or leave as is?
          stever999
          stever999
          0
          3
          102

        • URL Redirects from Google?
          EdLeo
          EdLeo
          0
          3
          338

        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