Google Search Results Display URL
-
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?
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Changes to title and description not appearing in Google search...
www.heatwavemedia.com Search terms: san francisco video production, san francisco video production services In Google search site appears as "Heartwave Media: San Francisco Video Production Services" but I'm sure I've never used a colon in all my iterations of the title... Instead it reads "San Francisco Video Production Services | Heartwave Media" with the description "A San Francisco video production company specializing in creative corporate and commercial video services." But that's not coming up either... I'm on Wordpress and am using All in One SEO if that helps... Thoughts?
Technical SEO | | keeot0 -
How to find original URLS after Hosting Company added canonical URLs, URL rewrites and duplicate content.
We recently changed hosting companies for our ecommerce website. The hosting company added some functionality such that duplicate content and/or mirrored pages appear in the search engines. To fix this problem, the hosting company created both canonical URLs and URL rewrites. Now, we have page A (which is the original page with all the link juice) and page B (which is the new page with no link juice or SEO value). Both pages have the same content, with different URLs. I understand that a canonical URL is the way to tell the search engines which page is the preferred page in cases of duplicate content and mirrored pages. I also understand that canonical URLs tell the search engine that page B is a copy of page A, but page A is the preferred page to index. The problem we now face is that the hosting company made page A a copy of page B, rather than the other way around. But page A is the original page with the seo value and link juice, while page B is the new page with no value. As a result, the search engines are now prioritizing the newly created page over the original one. I believe the solution is to reverse this and make it so that page B (the new page) is a copy of page A (the original page). Now, I would simply need to put the original URL as the canonical URL for the duplicate pages. The problem is, with all the rewrites and changes in functionality, I no longer know which URLs have the backlinks that are creating this SEO value. I figure if I can find the back links to the original page, then I can find out the original web address of the original pages. My question is, how can I search for back links on the web in such a way that I can figure out the URL that all of these back links are pointing to in order to make that URL the canonical URL for all the new, duplicate pages.
Technical SEO | | CABLES0 -
Why isn't Google pushing my Schema data to the search results page
I believe we have it set up right. I'm noticing all my competitors schema data is showing up which is really giving them a leg up on us. We have a high ranking website so I'm just not sure why it's now showing up. Here is an example URL http://www.airgundepot.com/3576w.html I've used the Google webmaster tools tester and it all looks fine. Any ideas? Thanks in advance.
Technical SEO | | AirgunDepot0 -
How to alter the search result to this?
When searching for "kredittkort" on Norwegian Google I get a search results that looks like this. I want to replicate this, but I'm not sure what information they've provided and how they've done it. It's seems like their both listing products AND have sitelinks connected to a subsite. How is this possible? The sitelinks aren't even subpages of the ranked site. How have they managed this? Also, is the product previews they have?
Technical SEO | | Inevo0 -
Higher PA score not reflected in google results - Redirect Issue ?
We have a redirect on our site at www.subsidesports.com to www.subsidesports.com/uk. Checking both home page scores in OSE, the .com/uk site has a higher PA and other metrics than .com yet all Home Page SERPS listed in Google still show .com with the lower PA and other metrics although the DA score of course is the same for both. Are we doing anything wrong here ? As part of my troubleshooting performed a redirect check using <http://www.ragepank.com/redirect-check/> and received the following error report: http://www.subsidesports.com/index.html returns a 200 (OK) response. PR N/A http://subsidesports.com/index.html returns a 200 (OK) response. PR N/A Potential problems on this site 2 pages returned a 200 response. This indicates potential for duplicate content problems. Ideally, only http://www.subsidesports.com OR http://subsidesports.com should return a 200 response. Are these two issues related and perhaps answered my own question ?
Technical SEO | | gooner10 -
How to display the exact url of our subsite in Google
Hi, I'm new to SEO and we just recently relaunched our site. Our site consist of 6 hotels that acts as a subsite. We noticed that when search for one of the hotels what is coming in the google is the main website. Example: We search for flora grand. We expect that in Google it will display the first link as www.florahospitality.com/dubai-flora-grand-hotel.aspx. But it show the main site which is www.florahospitality.com What do I miss here?
Technical SEO | | shebinhassan0 -
Whats the best way to stop search results from being indexed?
I Have a Wordpress Site, and just realized that the search results are being indexed on Google creating duplicate content. Whats the best way for me to stop these search result pages from being indexed without stopping the regulars and important pages and posts from being indexed as well? **The typical search query looks like this: ** http://xxx.com/?s=Milnerton&search=search&srch_type AND this also includes results that are linked to the "view more" such as:
Technical SEO | | stefanok
http://xxx.com/index.php?s=viewmore Your help would be much appreciated. regards Stef0 -
Existing Pages in Google Index and Changing URLs
Hi!! I am launching a newly recoded site this week and had a another noobie question. The URL structure has changed slightly and I have installed a 301 redirect to take care of that. I am wondering how Google will handle my "old" pages? Will they just fall out of the index? Or does the 301 redirect tell Google to rewrite the URLs in the index? I am just concerned I may see an "old" page and a "new" page with the same content in the index. Just want to make sure I have covered all my bases. Thanks!! Lynn
Technical SEO | | hiphound0