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
-
Redirect multiple domains to 1 domain or not?
Hi there, I have client who has multiple domains that already have some PA and DA. Problem is that most websites have the same content and rank better on different keywords.
Technical SEO | | Leaf-a-mark
I want to redirect all the websites to 1 domain because it’s easier to manage and it removes any duplicate content. Question is if I redirect domain x to domain y do the rankings of domain x increase on domain y? Or is it better to keep domain x separately to generate more referral traffic to domain y? Thanks in advance! Cheers0 -
Enable cookies temporary redirect
We have a ton of warnings - over 10 k - that are paths that SEOMOZ is getting redirected to an enable cookies page - but anyone with cookies enabled is not. Does this matter?
Technical SEO | | JohnBerger0 -
Redirecting over-optimised pages
Hi One of my clients websites was affected by Penguin and due to no 'bad link' messages, and nothing really obvious from the backlink profile, I put it down to over-optimisation on the site. I noticed a lot of spammy pages and duplicate content, and submitted recommendations to have these fixed. They dragged their heels for a while and eventually put in plans for a new site (which was happening anyway), but its taken quite a while and is only just going live in a couple of weeks. My question is, should I redirect the URLs of the previously over-optimised pages? Obviously the new pages are nice and clean and from what I can tell there are no bad links pointing to the URLs, so is this an acceptable practice? Will Google notice this and remove the penalty? Thanks
Technical SEO | | Coolpink0 -
Holy Redirects
Currently working on a project for a medium sized site (http://sleeponcall.com/) but the SEOMoz crawl crawled over 14,000 pages because the report is showing more than 8,000 redirects. The client has no clue how this happened as their previous web programmers may not have been on the ball. What could be causing the problem and what is the best way to untangle this mess?
Technical SEO | | Nobody15330770827560 -
How long should I keep 301 redirects?
I have modified a the URL structure of a whole section of a website and used mod_rewrite 301 redirect to match the new structure. Now that was around 3 months ago and I was wondering how long should I keep this redirect for? As it is a new website I am quite sure that there are no links around with the old URL structure but still I can see the google bot trying from time to time to access the old URL structure. Shouldn't the google bot learn from this 301 redirect and not go anymore for the old URL?
Technical SEO | | socialtowards0 -
Redirect
Hello, I need to redirect just the homepage of my blog somewhere. So blog.com But there are other redirects in there and I don't want to override them. So blog.com/post.html How do I just redirect the homepage of wordpress page without redirecting all the other pages. This is what I did that recreated the issue. redirect 301 / blog2.com Thanks! Tyler
Technical SEO | | tylerfraser0 -
E-commerce solution and subdomain issues
Hello All,
Technical SEO | | CherieP
In light of Wil Reynold's closing keynote at Portland's Searchfest, I thought I might try posting here to get some advice. We run a family business on the side and we're looking at starting to use volusion.com for our e-commerce solution. The catch is we currently have a wordpress site summitmining.com running on thesis with great SEO. Ranking #1 & #2 for our highest trafficked terms. Ideally, I'd like Summitmining.com to direct to the Volusion store and then summitmining.com/blog to go to our wordpress installation BUT since the volusion site will be hosted with the company and they will not host our wordpress installation we'd have to use a subdomain instead of a subdirectory which I understand will be bad for SEO. Does anyone have any recommendation on how to set this up without totally screwing up our ranking OR any recommendations of an easy to use shopping cart (I've worked on a magento site before and it's too complex for us) that wouldn't require a separate or subdomain? Thank you so much!
-Cherie Prochaska
503-816-3557
[email protected]
@cherieprochaska0 -
301-redirect
Hi My website is fairly new and i wasnt aware of the difference btw 'website.com' and 'www.website.com' when i started up. It doesnt matter which one i use as long as i am consistent right ? Most of my ingoing links are to mainpage on 'website.com'. I have som ingoing links to 'www.website.com' but also some to 'www.website.com/brandname'. is it enough to 301-redir 'www.website.com' to 'website.com' or does it need to be done on several levels ? I need to have someone do the redirect for me - how can i check its working when its done ? Dan Lærum
Technical SEO | | danlae0