Add tag canonical to phoca cart
-
- Phoca Member
- Posts: 28
- Joined: 06 Jan 2020, 11:35
Add tag canonical to phoca cart
Hi
I contacted the producer of 4seo (one of the best SEO extensions for Joomla) if he can add automatical canonical to the phoca cart products.
Hes answer:
"I think you'd be better off just asking for it with the Phoca team. For them it's really easy to do and would be good for them to have this as it's a basic SEO feature. They can add it in a few minutes for sure."
Is it so? I can add it to the code if you give me advice for testing.
I contacted the producer of 4seo (one of the best SEO extensions for Joomla) if he can add automatical canonical to the phoca cart products.
Hes answer:
"I think you'd be better off just asking for it with the Phoca team. For them it's really easy to do and would be good for them to have this as it's a basic SEO feature. They can add it in a few minutes for sure."
Is it so? I can add it to the code if you give me advice for testing.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add tag canonical to phoca cart
Hi, the question is what do you exactly mean with "add automatical cannonical"?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 28
- Joined: 06 Jan 2020, 11:35
Re: Add tag canonical to phoca cart
Hi, you mostly have one product in different categories. This gives several pages with dublicate content. So wie must define for search engines one page as "canonical page":
1) domain.ch/shop/categorie1/product1 -> set this to canonical
2) domain.ch/shop/categore2/product1
May be automatical is not be possible, but there should be a field "canonical page" where you can enter the url of one page.
This is the solution of virtuemart. And eshop has promised to add that field too.
1) domain.ch/shop/categorie1/product1 -> set this to canonical
2) domain.ch/shop/categore2/product1
May be automatical is not be possible, but there should be a field "canonical page" where you can enter the url of one page.
This is the solution of virtuemart. And eshop has promised to add that field too.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add tag canonical to phoca cart
Hi, thank you for the info. Maybe it is simpler when some category will be marked as canonical for each product, because I can imagine it can be hard to control each combination of Category vs. product and mark only some specific combination as canonical
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 46
- Joined: 21 Sep 2018, 11:34
Re: Add tag canonical to phoca cart
it's a useful feature.
I would just add a field to products where user can define by himself the canonical url. So everytime a detail page of that product is shown it contains that canonical meta tag.
Maybe even a whole tab for SEO related stuff, Meta Tags, Page Title, SEF Urls etc...
I would just add a field to products where user can define by himself the canonical url. So everytime a detail page of that product is shown it contains that canonical meta tag.
Maybe even a whole tab for SEO related stuff, Meta Tags, Page Title, SEF Urls etc...
-
- Phoca Member
- Posts: 28
- Joined: 06 Jan 2020, 11:35
Re: Add tag canonical to phoca cart
Yes, i agree!
Last edited by oesch.web@gmail.com on 08 Apr 2022, 13:44, edited 2 times in total.
-
- Phoca Member
- Posts: 46
- Joined: 21 Sep 2018, 11:34
Re: Add tag canonical to phoca cart
, Im not developing here
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add tag canonical to phoca cart
Hi,
Jan
Hard to say, if this can be managed in reality. When there are e.g. thousands of products and and you need to discover URL for each product by typing whole SEF URLI would just add a field to products where user can define by himself the canonical url. So everytime a detail page of that product is shown it contains that canonical meta tag.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 46
- Joined: 21 Sep 2018, 11:34
Re: Add tag canonical to phoca cart
hm, I'd say leave that Problem to the user for now.
Its no Problem for new shops or shops with only a few products...
Plus its not a Problem if the canonical url is not set, google finds the canonical most of the time by it self...
Its no Problem for new shops or shops with only a few products...
Plus its not a Problem if the canonical url is not set, google finds the canonical most of the time by it self...
-
- Phoca Member
- Posts: 28
- Joined: 06 Jan 2020, 11:35
Re: Add tag canonical to phoca cart
OK, is no problem for little shops. I can solve it by direct write to the 4SEO Extension.
But for bigger shops it would be great...
But for bigger shops it would be great...