E-Commerce: Random Cart ID Redirects
-
Hi All,
I'm having an ecommerce cart issue. Basically, each time a purchase is made, the cart pops up with a unique id (eg www.mysite.com/cart.php?action=add&product_id=3728), This is being caught by MOZ scans as an individual page in some instances.
Could I simply add Disallow: /cart.php to my robots.txt to nix this issue? In theory it should keep all subsequent query strings from being indexed, right?
Thanks!
-
I'm using Interspire's shopping cart system with a few modifications. There's absolutely no official support for it at this point, so I appreciate your help.
The cart is a standalone php page, so I think that just blocking that off should be sufficient.
Thanks!
-
No problem. What platform do you use, because you can include what CleverPhD said as well, it really just depends on how the headers of the template are generated. I am not familiar with a platform that uses directories for the cart pages, but I am sure that some exist. One thing to watch out for if you try to no follow a whole directory is, some carts put all of their secured (ssl) pages in the same place. This could include the contact page, which you want to leave index able. If you are not familiar with coding in the platform, I would avoid it, because if you got the conditional code wrong, you could de-index a portion of your site accidentally.
-
Thanks, Lesley. I've just added the cart page to the disallow list.
-
I would add, you want to also no follow, noindex all links to any of your shopping cart pages. Ideally, if you have your cart pages in a given folder, you can disallow the whole folder and take care of things as a group.
-
Generally you always disallow the cart page in e-commerce sites. The reason being is that some spiders like baidu, will make fake shopping carts when spidering your site. If you keep track of your abandoned cart rate, this will wreak havoc on your stats.
When you disallow the cart.php, it will keep the whole page from being indexed, which ideally is not a bad thing. More than likely the way your cart works is it uses ajax to post the product to that page silently to add it to the cart. But at the same time if you go to site.com/cart.php it will more than likely take you to the cart screen. There really is no inherit value in having that page indexed by search engines. If people are coming to that page, it will also skew your numbers when you are trying to figure why people are dropping out of the checkout process.
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
-
Javascript redirects harmful for SEO?
Hi Mozzers, A website deals with some javascript redirects. After some research, It came clear a normal 301 is the best option, but javascript redirects can be useful if you don't have access to a website' server. Does anyone have experience with javascript redirects? Can they be harmful in any point of SEO? I would love to hear your thoughts!
Technical SEO | | WeAreDigital_BE0 -
Sub Domain Redirect
Hey Everyone, Here is the situation : Currently, a website's sub domain is being redirected to the main website home page. We're having issues getting the sub domain pages indexed. Just want to confirm that it is because of the redirect on the sub domain URL. Should we kill the sub domain redirect and set it up as it's own page? Will that solve the indexing issue for the sub domain pages. More explanation below: subdomain.domain.com currently redirects to domain.com We're having issues indexing pages belonging to the sub domain ( subdomain.url.com/page1 or subdomain.url.com/page2) Appreciate your input in advance. Cheers,
Technical SEO | | SEO5Team0 -
301 redirect from Blogger
Hello, I have a client with a Wordpress network of blogs, each blog is owned by a different blogger. Many of them were migrated time ago from Blogger. I have seen that the way used to redirect them is a meta refresh, so no authority is being passed. I cannot find any reliable way of making a 301 from Blogger, There are some plugins, but I'm afraid of using them. Any of you have experience with this situation please? I have even thought about placing a global rel canonical before the meta refresh, but I think that here the problem is the meta refresh itself.... Thank you in advance
Technical SEO | | Juandbbam0 -
301 redirects on Windows server
Hi, We are soon moving www.ourumbrellaorganisationwebsite.co.uk/oldsubsidiaryname/index.aspx AND www.differentolddomainname.co.uk to just www.ourumbrellaorganisationwebsite.co.uk (an existing site which will no longer have the old subsidiary name sub section). How do we do the 301 redirects on a Windows server? Helicon has been suggested but I don't know it. I know we need to 301 redirect 'old' pages to the equivalent new ones, but is it a problem to do all of the old pages (there are lots) or should we just just do a few? is there ever a downside to doing individual redirects for an entire old site? Also, once the 301 redirects are in place from the old domain, is it possible to let the old domain expire and if so, at what point? Thanks
Technical SEO | | Houses0 -
Changing E Commerce platforms
Hey All, Im Olga and new to search engine optimization and web development. I recently changed from O S Commerce to Go daddy Quick shopping Cart. Before on my old site I had a lot of images show up on google searches on the first page in the image section that have recently vanished due to the change. I think that is where the majority of my sales were coming from as I did not really rank for any keyword searches. My old web designer did everything for my old site and told me a year ago he was to busy to help me out anymore and I did not know how to work OS Commerce hence the change to quick shopping cart. Does anyone know how to get images back into google images, or any other beginner strategies to help me rank in google. I have used all of the tools on this program and pretty much got everything figured out only I think the industry I am in is VERY competitive. Would love any advice or help. Thanks, Olga Girls Gone Biker
Technical SEO | | girlsgonebiker0 -
Multiple redirects a problem?
When product is sold out I will 301 redirect to a category page if a similar product is not available, but now our web developer has changed all the url's of the category pages so I need to redirect them all to the new category pages but that means there are some products that are first being redirected to the no longer existent category and then being redirected again to the new category page. This seems like it might me be a problem having two 301 redirects so I wanted to find out for sure if it is. Unfortunately our system for redirecting pages is archaic so it will be difficult and time consuming to go back and redo all the redirects that are going to pages that no longer exist so I wanted to get some additional opinions before I do that.
Technical SEO | | KentH0 -
Redirect blogspot blog ?
Hi We have an ecom site selling childrens clothing. We startet up with a blogspot blog due to the lack of that option from our provider. I have a few links in to the blogspot blog and realized today that the PA is 39 - the PA of homepage of ecom site is 40. Ive lately been using the ..../blog on my ecom site. The functionality so far of it is so bad that i am considering using the blogspot blog again. How can i best utilize the strength of our blog at blogspot. Just keep posting w anchor text to relevant pages our main site? Is redirecting a possibility at all ? Dan Lærum
Technical SEO | | danlae0 -
Question about domain redirects
One of my clients has an odd domain redirect situation. See if you can get your head round this: Domain A is set-up as a domain alias of Domain B Entering domain A or domain B takes you to default.asp on domain B. The default.asp includes VB script to check the HTTP_HOST variable. It checks whether the main doman name for domain A is present in the HTTP_HOST and if so redirects it to domain A/sub-folder/index.htm. If not present it redirects to domain B/index.htm. In both cases the redirect uses a response.Redirect clause. I think what is trying to be achieved is to redirect requests to Domain A to a sub-folder of Domain B. It works but seems extremely convoluted. Can anyone see problems with this set-up? Will link juice be lost along the redirect paths?
Technical SEO | | bjalc20110