- Posts: 109
COMMUNITY FORUM
Same Tag view with different urls available
- Franz Heine
-
Topic Author
- Offline
- Premium Member
menu is item-listings ->Tag with following url: kauf-auf-rechnung24.com/shops/buero.html
now k2 is generating for ex. following urls (multiple options are generated, but i just show 2):
1. kauf-auf-rechnung24.com/shops/blumen/kategorie/39-buero.html
Canonical is assigned to this url. It uses the module position at the bottom from /blumen/
2. kauf-auf-rechnung24.com/shops/kinder/kategorie/39-buero.html
Canonical is assigned to this url. It uses the module position at the bottom from /kinder/
Generally the url should be ..shops/blumen.html and ..shops/kinder.html. But k2 is adding the kategorie of buero included cat-id.
Also the ordering of the items are different. I think something went wrong with the assignement.
Is this a issue with my k2 SEO settings?
Im NOT using a plugins like sh404sef. Should i use one?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Franz Heine
-
Topic Author
- Offline
- Premium Member
- Posts: 109
updated the router.php
The urls from above are still available. Deleted cache and cloudfare cache.
Is that correct?
EDIT: Adds Suffix to URl ist "active" in the Global Configuration of Joomla
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Franz Heine
-
Topic Author
- Offline
- Premium Member
- Posts: 109
The following urls were generated with the "broken" router and are still available. Is that correct?
kauf-auf-rechnung24.com/shops/blumen/kategorie/39-buero.html
kauf-auf-rechnung24.com/shops/kinder/kategorie/39-buero.html
Im just asking for the understanding.
And would you recommend a plugin like Sh404sef?
Thx for everything Fotis!
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
sh404SEF surely gives you more control when it comes to URL management. You'll also need the relevant plugin for K2: www.joomlaworks.net/extensions/commercial/k2-plugin-for-sh404sef
If you switch to sh404SEF, remember to disable the Advanced SEF option in K2.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Franz Heine
-
Topic Author
- Offline
- Premium Member
- Posts: 109
i did everything youve mentioned, like in the post you recommended.
No success.
Than in the k2 setting ive set
Enforce SEF URL character replacements: No
Enable custom SEF settings for K2 URLs: No
Now the old links show a 404
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Franz Heine
-
Topic Author
- Offline
- Premium Member
- Posts: 109
If i deactivate "Enable custom SEF settings for K2 URLs" i see immediately the result. (the items url look like: .item/1454-shop.html)
I defined for "Prefix for category URLs" -> kategorie. Ive erased it and received for the urls above a 404. But i could reach to the url with this:
kauf-auf-rechnung24.com/shops/schuhe/itemlist/category/39-buero.html
and so on. If you would change /schuhe/ to /mode/ you get the same result. Now you can imagine how many urls you get with the same result if you have 100 categories.
im sure its a major issue with the SEF settings (router) of the component.
I think ive to solve it with a extra component/plugin. Because after the update to the newest k2 version i lost visibility at the search engines. After searching for the issue, i found out that k2 was generating multiple versions of urls with exactly the same items. Just the module result was different. For 'blumen' he took the module which is assigned to blumen. Same for 'kinder'
Question: Would you recommend sh404sef oder Route 66 Pro?
Thx anyway for your effort Fotis
EDIT: its still a router Problem. I used the "original" and the router from v2.10.2. -> same output. Ive erased the router.php and received for the urls a 404 (whats correct). The item url looked like shops/auto/item/1454-a-t-u.html (canonical was correct: shops/auto/-a-t-u.html).
the path (menu) /shops/ is Item listings -> Tag. All the other url has 'shops' as parent. Could this be the issue?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Multiple URLs for the same content CAN exist, especially if your menu structure is not optimal. Even so, K2 strives to use a single URL as output in the relevant canonical <link> tag. As long as there's a single such URL, it doesn't matter how many URLs point to the same content.
As for sh404SEF vs. Route 66 Pro, that's up to you to decide.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Franz Heine
-
Topic Author
- Offline
- Premium Member
- Posts: 109
Please Log in or Create an account to join the conversation.
- Franz Heine
-
Topic Author
- Offline
- Premium Member
- Posts: 109
I found out, that it was the problem with the menu item. I had create a "tag" view, not a "category" view. That was the issue.
Weird Urls are still available, but now the canonical works.
Question regarding k2 plugin Sh404sef: Yannick couldnt tell me, if the k2 plugin for sh404sef can redirect following url:
kauf-auf-rechnung24.com/mode/itemlist/category/39-buero.html
kauf-auf-rechnung24.com/schuhe/itemlist/category/39-buero.html
kauf-auf-rechnung24.com/technik/itemlist/category/39-buero.html
to
kauf-auf-rechnung24.com/buero.html
I that possible with the k2 plugin?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.