Product URL Canonical & Product doesn't exist

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 10 months ago #177666

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.328
-- Browser(s) name and version -- : Fire Fox 32.0.3

Hi There,

I'm trying to put the site right for SEO but I'm struggling with some bugs, so I created this post so you can help me solving this:

Problem 1.
I have this category with products but when I click on the product to see it, I get a Error Message saying "Product doesn't exist"
www.clima-eco.com/loja/cortina-de-ar


Problem 2.
I created 2 menus (one for each categorie and other for brands) and I have one HikaShop Content Module showing categories but all the url's are different even I put "Use Canonical URL and generate if missing"

The first menu is
www.clima-eco.com/loja

and all the links and products url stay this way:
www.clima-eco.com/MENU_NAME_ALIAS/CATEGORY_NAME

www.clima-eco.com/MENU_NAME_ALIAS/CATEGO...EF_NAME/PRODUCT_NAME

This is the right way and how I want it.

The second menu is for brands
www.clima-eco.com/informacoes/marcas

all products links stay this way:
www.clima-eco.com/MENU_NAME_ALIAS/PRODUCT_SEF_NAME/PRODUCT_NAME

So the category misses


The "HikaShop Content Module" is showing links this way:

www.clima-eco.com/MENU_NAME_ALIAS/CATEGO...F_NAME/CATEGORY_NAME

www.clima-eco.com/MENU_NAME_ALIAS/PRODUCT_SEF_NAME/PRODUCT_NAME

And some of the Categories won't work, the just go to the All Categories Page

How can I put every url working right without this, because Xmap is send to Google both Urls
www.clima-eco.com/MENU_NAME_ALIAS/PRODUCT_SEF_NAME/PRODUCT_NAME
www.clima-eco.com/MENU_NAME_ALIAS/CATEGO...EF_NAME/PRODUCT_NAME


Problem 3.
In this Category
www.clima-eco.com/loja/assistencia-tecnica

I have no products but only info in the Category editor Box that I want to show, but since I put the "Use Canonical URL and generate if missing" the info stop working. Including a 404 for the middle one...


*********************************************************************************************

I know it's a bit long post but it's everything I need to fix to deliver it to customer.

Thanks for all the help,
Tiago

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 10 months ago #177715

Hi,

1. I suppose that if you remove the parenthesis in the name of the product, you don't have the problem.
If you have special characters in the name of your products, you want to either enter an alias without special characters in it, or turn off the "remove category and product ids in URLs" option of the HikaShop configuration.

2. The "Use Canonical URL and generate if missing" option is the way to go here. This will automatically fill the "canonical URL" parameter of your products (which you can also fill manually if you want) and the system will then use that URL for all the listings where that product is displayed. If it doesn't work, then it probably means that you have some caching on your website preventing you from seeing the change.

3. It's the same problem has point 1. The name has special characters, so you need to fill the alias of the category properly. Then, you want to empty the canonical URL option so that the system can regenerate it with the correct alias.

The following user(s) said Thank You: webconcept

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 10 months ago #177831

Hi,

The 1 and 3 problems were solved easily with the alias, thanks.

The point 2 is not that simple, I found out that some canonicals were generated wrong and I create a Mass Action to clean all canonicals from Products and Categories but I guess I need to clean all canonicals from brands too but I cannot do it using the Mass Action.

I don't know but this is a bit strange, let me look ate it with calm.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 10 months ago #177848

Hi,

Brands are stored as categories in the database so you should be able to modify them too via the mass actions system.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #177899

Hola
tengo el mismo problema. He intentado de todas las formas posibles solucionar el problema de la URL /hikashop-menu-for-categories-listing/categories/cars.html pero no me ha sido posible. Ayuda porfavor

Quiero quitarle la url hikashop-menu-for-categories-listing he cambiado el alias y activado las URL Canonica inclusive vaciado la cache de joomla pero no he tenido exito.

Hay alguna forma de solucionar este problema

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #177900

hi
I have the same problem. I tried all possible ways to solve the problem of URL /hikashop-menu-for-categories-listing/categories/cars.html but has not been able to. Help please

I want to remove the url HikaShop-menu-for-listing-categories have changed and activated the URL alias Canonica even emptied the cache of joomla but have not been successful.

Is there any way to fix this problem

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 10 months ago #177985

Hi nicolas,

I tried again but it seams that some products get an URL like this:

www.clima-eco.com/Menu/Category/Product_SEF/Name_of_the_product

others like this

www.clima-eco.com/Menu/Product_SEF/Name_of_the_product

The URLs work fine when I have one Category only, but when I have a Sub Category, the url loses the Category in the URL.


Another thing that I don't get it is if the Canonicals URLs are generated one time only or every time I see different pages, if it's a one time only I thing I need to delete everyone again, then go to the Menu to Category page, then open Category by Category and show all products (limit to 18 products for page, so the ones that don't appear could have the canonical generated when I open a different menu).

My idea is to have all URL's of products like this:

www.clima-eco.com/Menu/Category/Product_SEF/Name_of_the_product

and this

www.clima-eco.com/Menu/Category/Sub_Cate.../Name_of_the_product

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 10 months ago #178036

Hi,

@Oyarzo:
hikashop-menu-for-categories-listing is the alias of your menu item. Edit it via the Joomla menus manager and you'll be able to change the alias there.

@webconcept:
Canonical URLs are generated once (you can even set it yourself if you want) and the system will then always use the canonical URL on products listings. So it's note possible that you get two different URLs for the same product on your website once the product has one set and that you don't have any cache left from before the change.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 10 months ago #178346

Hi nicolas,

I removed all the canonicals from products and categories to generate new ones, to do this I unpublish all modules and then refresh this page
www.clima-eco.com/loja

I open category by category, showing all products to generate everything right and it works more or less.

the problem was that all subcategories didn't go to the URL of the product and I get something like this

for the products
site_url/menu_alias/category/product_sef/product_name

for the categories
site_url/menu_alias/category
site_url/menu_alias/sub_category

So I had the subcategory url but no product with that reference.


My last idea was to create a sub menu item for each subcategory and then do everything again to generate all canonicals. Now I have this:

for the products
site_url/menu_alias/category/product_sef/product_name
site_url/menu_alias/category/sub_category/product_sef/product_name

for the categories
site_url/menu_alias/category
site_url/menu_alias/category/sub_category

This is what I want and I done it, great :)

My problem now is that I have only one link for each product, OK... but two urls for the categories and I don't want this, something like this

www.clima-eco.com/loja/ar-condicionado/multi-split (This is OK)
www.clima-eco.com/loja/categoria/multi-split (NOT OK)

categoria is the Category SEF from HikaShop and I think is created by the Categorias Module on the right side of the page.

So, how can I prevent this urls to be create? My Xmap is send those to Google too and I don't want it.

www.clima-eco.com/index.php?option=com_x...&tmpl=component&id=2

Thanks for your help

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 10 months ago #178498

Hi,

In the categories, when you edit them via the menu Products>Categories you also have a "canonical URL" setting where you can set the main URL of your categories which will be used in HikaShop categories listings.
So simply make sure that you have the URL you want in there for each one and that should be ok.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 10 months ago #178541

Hi nicolas,

I tried to change each one but when I save it, the Canonicals will generated again in the wrong way.

For instance, I put
/loja/ar-condicionado

and after save the canonical goes like this, where categoria is the Category_SEF from hikashop
/loja/categoria/ar-condicionado

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 10 months ago #178596

Hi,

Can you please provide a screenshot of your SEF setting in your HikaShop configuration ?
I want to know what you configured for the product and category SEF names.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 10 months ago #178698

Hi Jerome,



Or I have all urls with the Category_SEF_NAME or none of then.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 10 months ago #178707

Hi,

If you don't want the categoria text in the URLs then you should empty the "category SEF name" otpion. Do that and then try again.
If that doesn't work, please try again to set the canonical URL of your categories after turning on the "debug mode" option of the Joomla configuration. Do you get any error that time ?

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 10 months ago #179011

Hi there,

I tried to remove the "category SEF name" and I done it but now it seams that every single Category works but every SubCategory don't work and the menus itens are not assign properly..

If you go here: www.clima-eco.com/loja/aquecimento-domestico
You see that every SubCategory work but without menu item, so the sidebar don't appear. But the "Infravermelhos" give me a 404 Error although the Canonical is right.

You can check the menu on top "Categorias | de produtos" where every Category and SubCategory is generated.


If you want I can give you access to the site but not in this forum.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 10 months ago #179243

Hi,

As it works for all the other categories on that page except this one, it's something from the settings of that category which is the problem. I think that it is because you have a canonical URL which is wrong for that category. Empty that field in your category Infravermelhos and that should help.

Regarding the modules on the side, you just need to edit them via the Joomla modules manager and in their "menu assignment" option you not only need to select the main category menu item but also all the child menu items so that the module also display for sub categories.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 9 months ago #179458

Hi Nicolas,

Sorry for all the trouble, just want this to work fine.

The menus now work, I thought I had check the subcategories too, but no... The Infravermelhos had the Root category chosen in the menu item instead of Infravermelhos.


Now I just have the Module Content from HikaShop that is not working fine with the SubCategories and all the Brands gives me a 404 Error... Do I need to create a Menu item for each brand?

Check everything in here:
www.clima-eco.com/informacoes/marcas

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 9 months ago #179468

We'll need more information on how your menus and modules are configured to be able to help you here.
Please provide a backend access via our contact form with a link to this thread:
www.hikashop.com/support/contact-us.html
It will be easier for us to check your settings.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
10 years 9 months ago #180201

Hi there,

Do you have news about this? I sent you the credentials, did you get it?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 9 months ago #180258

Hi,

I did some tests on your website but the only way I was able to have everything working was by keeping the id of the products/categories in the URLs with the corresponding option of the HikaShop configuration. Otherwise, for some reasons the SEF system wasn't accepting the URLs.

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum