- Posts: 7
- Thank you received: 0
Problem in URL Sef for Menu and Module
- lienkhuong
-
Topic Author
- Offline
Less
More
11 years 10 months ago #181271
by lienkhuong
Problem in URL Sef for Menu and Module was created by lienkhuong
-- url of the page with the problem -- :
khoedep365.vn
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : firefox 33.1
Hi!
in my website URL for menu and module is different
1. In my menu (ex: 2 level: food/fresh-food):
Url level 2: khoedep365.vn/san-pham/food/fresh-food in this category have 1 product (vegetables). url for this product is: khoedep365.vn/san-pham/food/fresh-food/product/vegetables this url good for SEO
But at Url level 1: khoedep365.vn/san-pham/food --> click product then url: khoedep365.vn/san-pham/food/product/vegetables so not good
==> 1 PRODUCT BUT 2 URL. I WANT ONLY 1 URL: khoedep365.vn/san-pham/food/fresh-food/product/vegetables
2. In module: Url also different with menu
product example: "vegetables" at Home page
a. Module show product
b. Module category
in level 2
Please help me this problem
Thank!
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : firefox 33.1
Hi!
in my website URL for menu and module is different
1. In my menu (ex: 2 level: food/fresh-food):
Url level 2: khoedep365.vn/san-pham/food/fresh-food in this category have 1 product (vegetables). url for this product is: khoedep365.vn/san-pham/food/fresh-food/product/vegetables this url good for SEO
But at Url level 1: khoedep365.vn/san-pham/food --> click product then url: khoedep365.vn/san-pham/food/product/vegetables so not good
==> 1 PRODUCT BUT 2 URL. I WANT ONLY 1 URL: khoedep365.vn/san-pham/food/fresh-food/product/vegetables
2. In module: Url also different with menu
product example: "vegetables" at Home page
a. Module show product
b. Module category
in level 2
Please help me this problem
Thank!
Please Log in or Create an account to join the conversation.
11 years 10 months ago #181490
by Xavier
Replied by Xavier on topic Problem in URL Sef for Menu and Module
Hi,
I think that in your case you have to use the canonical url feature.
Set the canonical url in the product edition page for each products and set the option "Force canonical URLs on listings" to "Use canonical and generate it if missing", or another value depending on how you want to manage these urls.
I think that in your case you have to use the canonical url feature.
Set the canonical url in the product edition page for each products and set the option "Force canonical URLs on listings" to "Use canonical and generate it if missing", or another value depending on how you want to manage these urls.
The following user(s) said Thank You: lienkhuong
Please Log in or Create an account to join the conversation.
- lienkhuong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 10 months ago #181575
by lienkhuong
Replied by lienkhuong on topic Problem in URL Sef for Menu and Module
Hi Xavier
in "Force canonical URLs on listings" i set "Use canonical and generate it if missing", and each a product i in input Canonical URL but url not chage. please view in attach file
link wrong: khoedep365.vn/san-pham/product/vegetables
true link: khoedep365.vn/san-pham/food/fresh-food/product/vegetables
Thank
in "Force canonical URLs on listings" i set "Use canonical and generate it if missing", and each a product i in input Canonical URL but url not chage. please view in attach file
link wrong: khoedep365.vn/san-pham/product/vegetables
true link: khoedep365.vn/san-pham/food/fresh-food/product/vegetables
Thank
Please Log in or Create an account to join the conversation.
11 years 10 months ago #181648
by nicolas
Replied by nicolas on topic Problem in URL Sef for Menu and Module
Hi,
The system will automatically use the canonical URL on all the products listings displayed by HikaShop.
If you don't see the canonical URL on some of the products listings, it's either:
- that they are not hikashop products listings (which I don't think apply here right ?)
- that there is some caching activated on the website preventing you from seeing the change (check that you don't have any caching activated, or clear it)
- that you're not using the normal SEF system of Joomla but a third party SEF extension which uses its own system for SEFing URLs (it could be the case here so please check on that)
- you had edited views of Hikashop from a previous version of HikaShop which didn't support canonical URLs on listings via the menu Display>Views (it could well come from that and in that case, removing the customization of the product views and reapplying your changes to the new version of the view files would be a solution)
- in a similar manner, your template came with HikaShop overrides for an old version of HikaShop.
In both last cases, an easy way to check that is to see if you have the folder templates/YOUR_TEMPLATE/html/com_hikashop/product and if you do, rename it via FTP. That will disable all the product view overrides and you can see if you get the new URLs on the listings.
The system will automatically use the canonical URL on all the products listings displayed by HikaShop.
If you don't see the canonical URL on some of the products listings, it's either:
- that they are not hikashop products listings (which I don't think apply here right ?)
- that there is some caching activated on the website preventing you from seeing the change (check that you don't have any caching activated, or clear it)
- that you're not using the normal SEF system of Joomla but a third party SEF extension which uses its own system for SEFing URLs (it could be the case here so please check on that)
- you had edited views of Hikashop from a previous version of HikaShop which didn't support canonical URLs on listings via the menu Display>Views (it could well come from that and in that case, removing the customization of the product views and reapplying your changes to the new version of the view files would be a solution)
- in a similar manner, your template came with HikaShop overrides for an old version of HikaShop.
In both last cases, an easy way to check that is to see if you have the folder templates/YOUR_TEMPLATE/html/com_hikashop/product and if you do, rename it via FTP. That will disable all the product view overrides and you can see if you get the new URLs on the listings.
The following user(s) said Thank You: lienkhuong
Please Log in or Create an account to join the conversation.
- lienkhuong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 10 months ago - 11 years 10 months ago #181928
by lienkhuong
Replied by lienkhuong on topic Problem in URL Sef for Menu and Module
Hi nicolas
Thank for repply.
My problem Url in this case "in a similar manner, your template came with HikaShop overrides for an old version of HikaShop.
In both last cases, an easy way to check that is to see if you have the folder templates/YOUR_TEMPLATE/html/com_hikashop/product and if you do, rename it via FTP. That will disable all the product view overrides and you can see if you get the new URLs on the listings. "
. I solved and all url Product in menu and module is OK (use canonical URL)
However still one problem: Url for category module not ok (in level 2):
Url in menu ok: prntscr.com/5cbhs but Url in category module not ok: prntscr.com/5cbidt
Please help me
Thank
Thank for repply.
My problem Url in this case "in a similar manner, your template came with HikaShop overrides for an old version of HikaShop.
In both last cases, an easy way to check that is to see if you have the folder templates/YOUR_TEMPLATE/html/com_hikashop/product and if you do, rename it via FTP. That will disable all the product view overrides and you can see if you get the new URLs on the listings. "
. I solved and all url Product in menu and module is OK (use canonical URL)
However still one problem: Url for category module not ok (in level 2):
Url in menu ok: prntscr.com/5cbhs but Url in category module not ok: prntscr.com/5cbidt
Please help me
Thank
Last edit: 11 years 10 months ago by lienkhuong.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #182005
by nicolas
Replied by nicolas on topic Problem in URL Sef for Menu and Module
Hi,
Well, it's probably something similar.
The view overrides of the category listing are in templates/YOUR_TEMPLATE/html/com_hikashop/category
So I guess that if you rename that folder, it will use the canonical URLs too.
Well, it's probably something similar.
The view overrides of the category listing are in templates/YOUR_TEMPLATE/html/com_hikashop/category
So I guess that if you rename that folder, it will use the canonical URLs too.
Please Log in or Create an account to join the conversation.
- lienkhuong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 10 months ago #182054
by lienkhuong
Replied by lienkhuong on topic Problem in URL Sef for Menu and Module
Hi, nicolas
i rename Category in "templates/YOUR_TEMPLATE/html/com_hikashop/category" but it not work
Please help me
Thank
i rename Category in "templates/YOUR_TEMPLATE/html/com_hikashop/category" but it not work
Please help me
Thank
Please Log in or Create an account to join the conversation.
11 years 10 months ago #182100
by nicolas
Replied by nicolas on topic Problem in URL Sef for Menu and Module
Hi,
And did you enter a canonical URL in your categories ?
What did you enter for that category ?
And did you enter a canonical URL in your categories ?
What did you enter for that category ?
Please Log in or Create an account to join the conversation.
- lienkhuong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 10 months ago #182212
by lienkhuong
Replied by lienkhuong on topic Problem in URL Sef for Menu and Module
Hi
i entered anonical URL for categories
level 1: prntscr.com/5d088f
level 2: prntscr.com/5d08e6
Thank
i entered anonical URL for categories
level 1: prntscr.com/5d088f
level 2: prntscr.com/5d08e6
Thank
Please Log in or Create an account to join the conversation.
- lienkhuong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 9 months ago #182610
by lienkhuong
Replied by lienkhuong on topic Problem in URL Sef for Menu and Module
Hi, nicolas
Please help me canonical URL in my categories
Thank
Please help me canonical URL in my categories
Thank
Please Log in or Create an account to join the conversation.
11 years 8 months ago #187470
by Xavier
Replied by Xavier on topic Problem in URL Sef for Menu and Module
Hi,
It seems that you have solved your issue. The urls look as you wish , right ?
Just as a memo, the canonical urls must use a valid url, so to have desired url structure you have to play with the settings in Configuration > Features > Sef Urls and with the menu / module settings.
It seems that you have solved your issue. The urls look as you wish , right ?
Just as a memo, the canonical urls must use a valid url, so to have desired url structure you have to play with the settings in Configuration > Features > Sef Urls and with the menu / module settings.
Please Log in or Create an account to join the conversation.
- lienkhuong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 8 months ago #187750
by lienkhuong
Replied by lienkhuong on topic Problem in URL Sef for Menu and Module
Hi Xavier
My issue not solved, i must use third party module for my issue
thank
My issue not solved, i must use third party module for my issue
thank
Please Log in or Create an account to join the conversation.
Time to create page: 0.223 seconds