| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Redirect to Product Page when only One product in category | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||||
|
|||||||||
Re: Redirect to Product Page when only One product in category
Search engines don't like pages that load, and then do a refresh. This technique used to be quite popular in the early days where people would create doorway pages and then use javascript or meta refresh to redirect. Such redirects are also common with virus that try to hijack the user sending them away from their intended destination. More recently, some similar things have been done for the purpose of "302 Hijacking."
Here's an expert from someone who works at Google, I believe it was John Mueller: Quote:
Personally, I would either: 1) Do nothing. Have the user click on my category, then click on my one product. This allows the category and my page to be indexed, so that in the future if and when I do add more items to the category, the category is indexed. 2) Customize my navigation so that when there is only one item in a category, it automatically links to the product in the navigation by replacing the category url with the product url. 3) Customize my category code in php to check the product count in a category, and do a 301 redirect to the product if the category has one item. I would code this so that it happens automatically. I would recommend #1 or #3 but wouldn't recommend the method in this thread for anyone no matter if they are using CDSEO or not (though the previous code provided in this thread for CDSEO should work for anyone who chooses to do so). |
|||||||||
#42
|
|||||||||
|
|||||||||
Re: Redirect to Product Page when only One product in category
+1, I don't like this. As a customer I would be annoyed if I click on category and expect to see its page but instead I am redirected to another part of the store - this is not what I wanted. If you think page is too empty with one product you can show some ads or links to other similar products on that page.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#43
|
|||||||||
|
|||||||||
Re: Redirect to Product Page when only One product in category
Quote:
And/or add some keyword rich paragraphs of useful text |
|||||||||
#44
|
|||||||
|
|||||||
Re: Redirect to Product Page when only One product in category
Quote:
Steve, How does the customer know (or care) that it's a category (or a product)? Think like the customer -- they simply want to easily browse my products. They don't care if I have 1 item in a "category" or a dozen. Then think like a merchant - I want to put similar items that a customer may want near each other, without asking the customer to browse or click any more than minimum. I also want the navigation to be CRYSTAL clear. Then think like a developer -- until x-cart allows me to place individual products in a category menu, how can we achieve integrated navigation to a PRODUCT from the main menu? For example, I am in the cosmetics business. One of our product categories is "makeup kits". These are my top-sellers. I want IMMEDIATE access to these top-performing skus, without a 2nd click. A flyout works perfectly for this. But the xcart system doesn't allow me to assign PRODUCTS to the flyouts, without speed-bump to the category page. If I have 5 top-selling kits - WHY NOT use this technique, and simply make it easier for the customer to go directly to the product they want? Jon - are you certain that this code does a 302? The term "redirect" is what moneysaver67 used when he contributed this code 6 years ago. I used it in the comments when I rephrased it for newer xcarts. In post #29, you said Quote:
http://forum.x-cart.com/showpost.php?p=254957&postcount=29 Code:
ESPECIALLY with CDSEO PRO, I see no reason why not to use this for merchandising your top selling items, if appropriate for the store's catalog and customers. Technically, what's the difference between this and a true 301? Until xcart (or a mod developer) allows the merchant to put any item into the main flyouts at any place -- why the hell not? PS -- more text doesn't always sell products in fashion and beauty. IMAGES sell. Text is king for search, but until my customer can see the product (in a more perfect world, toch it), I don't have a chance. The faster I can get my customer to looking at the product page, the better shot I have of conversion. Obviously. Obviously?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#45
|
|||||||
|
|||||||
Re: Redirect to Product Page when only One product in category
Ah... this code does a 302 (just checked)
But that shouldn't matter, since the PAGE is indexed. The "category" is simply a placeholder for browsing. As far as I'm concerned, I DO NOT WANT the "hidden" category page indexed, nor do I want any link juice from it. SO this works perfectly for my needs! We link to the PRODUCT PAGE from many other places, and the ONLY URL people see is the CDSEO URL. I am not convinced this is not a great way to merchandise certain products. PS -- my PRODUCT PAGE is ranked sky-high for many keywords. ANd we have a relevant Sitelinks on goog and bing. Can't ask for more.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#46
|
|||||||||
|
|||||||||
Re: Redirect to Product Page when only One product in category
It could be just me but I just don't like it when I click on a link and I have some idea where it will take be but instead I am being redirected to another url. Customers may not know if that page should be category or product but they can see what the link url is and what the final url is. They may not care though or not pay attention to this. I do
It's like I ask you to show me all products from "kits" section but you instead of saying "there is the section and we have one product available" you are saying - this is the product from the "kits" section. Also if I browse the store and see all cats pages with products but then click on particular one and instead of cat page with product(s) I see product details page I may think something is wrong there - why this link which should be like the others in the menu follows different path... Again - this is me. If this approach works for you and converts that is the important thing right
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#47
|
|||||||||
|
|||||||||
Re: Redirect to Product Page when only One product in category
Determine what is best and then customize it to make it happen instead of trying to work within the existing framework.
If you want products in your menu, you can customize it to have products in your menu |
|||||||||
#48
|
|||||||||
|
|||||||||
Re: Redirect to Product Page when only One product in category
When I mentioned a 301, I meant from product.php?productid=X to the CDSEO url.
This code will return a 302 first because it loads content and then redirects. |
|||||||||
#49
|
|||||||
|
|||||||
Re: Redirect to Product Page when only One product in category
Quote:
But Steve.. What if I named my categories, "Our Products" and you simply don't have ANY idea if a link is a product or a category? You can't be surprised if you click on a flyout for something that interests you, and it's exactly what it says. And that's what you were expecting. Take off the developer hat -- you have NO IDEA and no expectation that the first line of browsing is going to be categories or products or sub-cats or a link to somewhere else. Walmart.com does this. So do other billion $ brands. I think it's good merchandising. Help the customer find what they want - not preserve order of the category hierarchy. My $.02 too.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#50
|
|||||||||
|
|||||||||
Re: Redirect to Product Page when only One product in category
Difference of opinion. Fortunatelly for me I don't shop at Walmart
Yes if it works it works
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|