Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
Issue in Product URL
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

My product xxxx is under Kitchenware->Ceramic Knives
Initially product has the url stores/xxxxx.html
when i set “Use Categories Path for Product URLs” to yes then the product url becomes stores/ceramic-knives/xxxxx.html
after clearing the “core_url_rewrite\” and reindexing the catalog url rewrite there is no change in the url structure.
What should i do get the main category in the product url.
Is there anything that has to been done with code part as said in some of the related thread.? i have also tried all those things.
I am breaking my head for so many days. I am using Magento 1.4.2. When i tried installing a sample store in offline and added some sample products all the product urls are using the main category and i don’t see any problem in the url structure even after reindexing the catalog url rewrite.
It would be really great if someone could spend time for me.?

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

Can someone look into this.?

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

I don’t know why many questions are left unanswered in this forum?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Winston_Wolf
Jr. Member
 
Avatar
Total Posts:  21
Joined:  2012-09-10
 

I have the same problem with Upsell product

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

How about in all other product pages.?
I wonder why even the Magento team members are not assisting us in any ways.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tom Robertshaw
Moderator
 
Avatar
Total Posts:  485
Joined:  2009-05-17
Bath, UK
 

Is “Kitchenware” your root category?  If so, that would be hidden naturally. 

The format for your category structure should be:

Root Category
|
|
--- Kitchenware
|
|
------- Ceramic Knives

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

Thanks for looking into this.
But The Kitchenware is not a root category. Below is the Category list.
Default Category
---
---
ShopAU
Kitchenware
--Ceramic Knives
--Ceramic XXXXX
Water Purifiers
--
--
I have set store to Root Category to Shop AU in Manage stores

Then how this is not working?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tom Robertshaw
Moderator
 
Avatar
Total Posts:  485
Joined:  2009-05-17
Bath, UK
 

Do you have a link to your site that we could look at please?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

Hello,

It is probably worth having a read of this thread.

By default unless the product is assigned to the category you’re viewing, you’ll get the product URL without the category path in the URL.

Kind regards
Matt

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

Hi Tom,
You can look at the below product page. All the product are categorized under main category Water Filtration - > Drinking Water Filters
But all the product’s URL has only the Sub category Drinking Water Filters.
http://stores.vitality4life.com.au/drinking-water-filters

@Stephens
FYI : All the products have been categorized.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

@karthicangler

You are correct. However as I described, Magento on the homepage has no way of knowing what categories a product belongs to, as a product may appear in multiple categories - hence why it does not put the category path in the URL on any page except the directly assigned category page.

For example the Aquasana Undersink Filter Kit is assigned to the drinking water filters category.  Therefore when you are on the drinking water filters category Magento knows to include the URL as the product is assigned to that category.

However when searching (click here), as the product can be assigned to multiple categories Magento doesn’t apply a category path to the URL.  This was mentioned in my post regarding the issue, and there is a work around oo always show the full path (although as said, a hack).

To combat this Magento defines the canonical URL of a product to be the URL without the category path, therefore not (in theory) affecting any search ranking with duplicated content etc.

Cheers
Matt

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

Hi Stephen,
Thanks for your reply.
The product Aquasana Undersink Filter Kit is under the Main category Water Filter and the Sub category Drinking Water Filters.
I have installed a sample store in magento 1.4.2 and created some category and product. In the sample store all the links are included with main as well as the sub category.
The page which you viewed is not the home page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

Could someone help on his.?

 
Magento Community Magento Community
Magento Community
Magento Community
 
tysonlee
Jr. Member
 
Total Posts:  1
Joined:  2012-10-05
 

I have a client that has some products that are seasonal. I really like that Magento easily gives you the ability to mark products as “new.” However, I would like to change “new” to “seasonal.” Any ideas on how to do this? Your help is appreciated, thank you!

 
Magento Community Magento Community
Magento Community
Magento Community
 
karthicangler
Jr. Member
 
Total Posts:  17
Joined:  2012-06-24
 

The problem is in URL rewrite management. Reindex creates only URLs with the sub-category. Main category not getting included there itself.
Is there is any solution for this. I am terribly fed up this Magento.!!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

Hi

Can you output your category structure ie.

Cat 1
—Cat 2
—Product 1

And also let me know with reference to the structure where/where it isn’t showing the category URL. I suspect the issue is the product isn’t directly assigned to the category you’re viewing, as described in my post.

Cheers
Matt

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2