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. Google Search Results Display URL

    Google Search Results Display URL

    Technical SEO Issues
    2 2 870
    • 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.
    • Guy_Huyett
      Guy_Huyett last edited by

      Our urls show as www.domain.com/getproduct.aspx?productid=48376 (url #1) in Google search results.

      When you click on the link and go to the site the URL is www.domain.com/product-name.aspx (url #2)

      I checked in Google Webmaster Tools (Fetch as Google) and there is a 302 redirect from url #1 to url #2.  It also shows a Set-Cookie value, ASP.NET_SessionID=

      If we make it a 301 redirect instead, will the url displayed in Google search results be the url #2?

      We need to get rid of the Set-Cookie for crawlers correct?

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

        Hi Huey,

        What I would do is first look in Google to see if they're crawling and indexing all of your products. For example. search Google for this:

        site:www.domain.com/getproduct.aspx

        With that search you should see your products getting indexed. If not, then there is an issue. I don't recommend that you use any redirects at all, as Google can crawl and index URLs with parameters in them.

        That said, you should not be using a 302 redirect as it's only temporary one and Google will NOT change the URL, as they are doing now. If you used a 301 Permanent Redirect Google should then show the full URL.

        If at all possible, I recommend getting rid of the session IDs and cookies. If you must have them, then those session IDs should not be in the URLs. I would, though, get rid of them for the search engine crawlers at a minimum.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Hide sitelinks from Google search results
          MainstreamMktg
          MainstreamMktg
          0
          5
          72

        • Why does Google's search results display my home page instead of my target page?
          JohnSammon
          JohnSammon
          0
          2
          51

        • How to fix you brand search on google? Random urls not categorys display
          ClaytonJ
          ClaytonJ
          0
          2
          38

        • Google displaying "Items 1-9" before the description in the Search Results
          Christy-Correll
          Christy-Correll
          0
          8
          153

        • Google Search Results Flip-Flop
          RobertJakobson
          RobertJakobson
          0
          2
          129

        • Google Search Results and Trailing Slash
          mememax
          mememax
          0
          2
          217

        • Why are Google search results different if you are log'd into Google or not?
          Romana
          Romana
          0
          5
          377

        • How does google know a search result is a search result?
          Damien-Anderson
          Damien-Anderson
          0
          2
          642

        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