- Posts: 56
COMMUNITY FORUM
Info: K2 2.6.5 removes important SEO options
- Matt
-
Topic Author
- Offline
- Senior Member
"Default parent menu for user pages (optional)"
"Default parent menu for tag listings (optional)"
These options kill the duplicated URL issue with tags and user pages. But for some reason, he removed these options in K2 2.6.5, which means you have yet again duplicated URLs with tags and author pages. The new SEF advance options can't do nothing about this.
At this point, there hasn't been a news to K2 2.6.5 posted, so lets hope that Fotis can explain his decision to remove these options soon.
In the meantime, simply don't update to K2 2.6.5.
Please Log in or Create an account to join the conversation.
- xaoc
-
- Offline
- Junior Member
- Posts: 33
Please Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
Please Log in or Create an account to join the conversation.
- xaoc
-
- Offline
- Junior Member
- Posts: 33
variables are still in the plugins/system/k2.php
Please Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
Please Log in or Create an account to join the conversation.
- xaoc
-
- Offline
- Junior Member
- Posts: 33
//define('K2_USERS_ITEMID', $componentParams->get('defaultUsersItemid'));
in plugins/system/k2.php?
Please Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
// Define the default Itemid for users and tags. Defined here instead of the K2HelperRoute for performance reasons.
// UPDATE : Removed in K2 2.6.5. All K2 links without Itemid now use the anyK2Link defined in the router helper.
//define('K2_USERS_ITEMID', $componentParams->get('defaultUsersItemid'))
//define('K2_TAGS_ITEMID', $componentParams->get('defaultTagsItemid'));
So that explains it then. I will do some testing now and report my results shortly.
Please Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
Removed in K2 2.6.5. All K2 links without Itemid now use the anyK2Link defined in the router helper.
The advanced SEF options ain't do nothing about this. I don't know what this "anyK2Link" is supposed to mean, but it obviously isn't working. Tags and user pages links all start with "component/k2" if not assigned to a menu, resulting in multiple duplicated URLs accross your site.
Please Log in or Create an account to join the conversation.
- xaoc
-
- Offline
- Junior Member
- Posts: 33
Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
I start to think that they don't take their own project serious.
Please Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
In the source code of the system/k2.php file I found this:
/ Define the default Itemid for users and tags. Defined here instead of the K2HelperRoute for performance reasons.
// UPDATE : Removed in K2 2.6.5. All K2 links without Itemid now use the anyK2Link defined in the router helper.
//define('K2_USERS_ITEMID', $componentParams->get('defaultUsersItemid'));
//define('K2_TAGS_ITEMID', $componentParams->get('defaultTagsItemid'));
I have bolded the important part, performance reasons. Can you elaborate a bit more? Does enabling the duplicated tag/user pages options in K2 2.6.4 result in performance issues? How many queries are executed compared to the new method in K2 2.6.5?
My next question is also releated to performance issues. In K2 2.6.4 the description for the advanced SEF settings is as follows:
Enabling this option will modify all K2 URLs making them more SEO friendly. However this option will add a significant performance hit for websites with more than a few hundred K2 items in them. Use with caution. This option is disabled by default.
This sounds as if the new URLs are stored in the database just like sh404 sef URLs. Is this the case? Can you elaborate more?
Please Log in or Create an account to join the conversation.