Keyword

Same Tag view with different urls available

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 10 months ago - 3 years 10 months ago #176203 by Franz Heine
Same Tag view with different urls available was created by Franz Heine
k2 is generating differnt url for the same menu.

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?
Last edit: 3 years 10 months ago by Franz Heine.

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

More
3 years 10 months ago #176216 by JoomlaWorks
Replied by JoomlaWorks on topic Same Tag view with different urls available

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
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 10 months ago - 3 years 10 months ago #176217 by Franz Heine
Replied by Franz Heine on topic Same Tag view with different urls available
Thx Fotis,

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
Last edit: 3 years 10 months ago by Franz Heine.

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

More
3 years 10 months ago #176218 by JoomlaWorks
Replied by JoomlaWorks on topic Same Tag view with different urls available
Unless you have another extension that could modify URLs, then this change will restore your previous URL structure. Clean your site's cache and check with a private browser window (just in case).

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
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 10 months ago #176219 by Franz Heine
Replied by Franz Heine on topic Same Tag view with different urls available
No, i dont have any extensions for the url structure.

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.

More
3 years 10 months ago #176220 by JoomlaWorks
Replied by JoomlaWorks on topic Same Tag view with different urls available
Unless you did not follow the process as instructed, you should not see the old URLs.

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
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 10 months ago #176221 by Franz Heine
Replied by Franz Heine on topic Same Tag view with different urls available
this is really weird.

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.

More
3 years 10 months ago #176222 by JoomlaWorks
Replied by JoomlaWorks on topic Same Tag view with different urls available
Clean your cache whenever you do such changes. "Enforce SEF URL character replacements" is irrelevant to the matter.

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
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 10 months ago - 3 years 10 months ago #176224 by Franz Heine
Replied by Franz Heine on topic Same Tag view with different urls available
to make it clear. Its not a caching problem. there is no cache active on that site. anyway, ive deactivated jchoptimize pro, deleted all possible cache (backend, browser, cloudfare).

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?
Last edit: 3 years 10 months ago by Franz Heine.

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

More
3 years 10 months ago #176227 by JoomlaWorks
Replied by JoomlaWorks on topic Same Tag view with different urls available
Don't delete that file. No URL will work.

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.


Powered by Kunena Forum