Ignore url parameters without the 'parameter=' ?
-
We are working on an ecommerce site that sorts out the products by color and size but doesn't use the sortby= but uses sortby/. Can we tell Google to ignore the sortby/ parameter in Webmaster Tools even though it is not followed by an = sign?
For example:
www.mysite.com/shirts/tshirts/shopby/size-m
www.mysite.com/shirts/tshirts/shopby/color-black
Can we tell WMT to ignore the 'shopby/' parameter so that only the tshirts page will be indexed? Or does the shopby have to be set up as 'shopby=' ?
Thanks!
-
Thanks for the response!
Yes, we do want to implement the rel=canonical tag but since we are using Magento to build on we are having some issues. One of the issues is that we have the shirts page with sort features:
www.mysite.com/shirts/shoby/size-m
and then the tshirts page:
www.mystie.com/shirts/tshirts/shoby/size-m
So the problem we're running into is trying to figure out how to write a script to implement rel=canonical so that for the first URL, everything after shirts canonicalizes to the /shirts/ URL, and then for the second URL everything after tshirts canonicalizes back to the /shirts/tshirts/ URL without the /shirts/ rel=canonical overriding it.
-
As far as I know, you can't do this in Google Webmaster tools. It would have to be a parameter like shopby= instead of shopby/ as you suspect.
This sounds like a good place to use the rel=canonical tag. You want those pages to exist, and if people link to them, you want them to pass their link juice back to the /tshirts/ page. These shopby pages will have a subset of the info on the /tshirts/ page, so Google should respect the canonical tag.
Other search engines beyond Google should respect the canonical tag as well, so that's another benefit to doing it outside of Google Webmaster Tools.
Here's some reading:
rel=canonical: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
Using canonical to a view all page: http://googlewebmastercentral.blogspot.com/2011/09/view-all-in-search-results.html
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
-
Generation 'child' sitemaps?
First off, am I correct in thinking that a 'child' sitemap is a sitemap of a subfolder and everything that sits under it, i.e. www.example.com/example If so, can someone give me a good recommendation for generation a free child sitemap please? Many thanks, Rhys
Technical SEO | | SwanseaMedicine0 -
Magento URL change
We have a Magento website parked at HostGator. The site is comprised of both a PC and a mobile version. We changed the URL to a new one ... We made the domain changes in the ‘core_config_data’ (phpMyAdmin) ... We flushed the cache in the ‘File Manager’ part of cPanel (regular and mobile version) Currently we can access the http://newsite.com (on a desktop) with no problem ... We can also access http://m.newsite.com BUT… only from a desktop PC. When we try http://newsite.com from a MOBILE device, it routes to: http://m.OLDsite.com (it keeps going to the old URL) Need some help please. Thanks in advance!
Technical SEO | | Prime850 -
How to fix these unwanted URLs?
Right now i have wordpress, one page website, but google also show wp-content. KIndly check below in google. site:http://baltimoreelite.com/ How I can fix this issue?
Technical SEO | | marknorman0 -
URL removals
Hello there, I found out that some pages of the site have two different URL's pointing at the same page generating duplicate content, title and description. Is there a way to block one of them? cheers
Technical SEO | | PremioOscar0 -
Redirect old URL's from referring sites?
Hi I have just came across some URL's from the previous web designer and the site structure has now changed. There are some links on the web however that are still pointing at the old deep weblinks. Without having to contact each site it there a way to automatically sort the links from the old structure www.mydomain.com/show/english/index.aspx to just www.mydomain.com Many Thanks
Technical SEO | | ocelot0 -
Canonical tags pointing at old URLs that have been 301'd
I have a site which has various white label sites with the same content on each. I have canonical tags on the white label sites pointing to the main site. I have changed some URLs on the main site and 301'd the previous URL to the new ones. Is it ok to have the canonicals pointing to the old URLs that now have a 301 redirect on them.
Technical SEO | | BeattieGroup0 -
Disallowing https URLs
It there a problem disallowing all https URLs to be indexed in order to avoid duplication? This is the article recommending this practice - http://blog.leonardchallis.com/seo/serve-a-different-robots-txt-for-https/ Thanks!
Technical SEO | | theLotter0 -
Which one is best? Parameters or Meta
I have issue regarding duplicate pages on website as follow. http://www.vistastores.com/review.html?pr_page_id=90344 http://www.vistastores.com/review.html?pr_page_id=90345 I checked my Google webmaster tools and found that Google have already set Parameter with pr_page_id. So, what is this? Will Google index all that pages? Can I use following Meta tag to block indexing? Which one is best?
Technical SEO | | CommercePundit0