- Posts: 56
COMMUNITY FORUM
Info: K2 2.6.5 removes important SEO options
- Matt
- Topic Author
- Offline
- Senior Member
Less
More
11 years 8 months ago #109754
by Matt
Info: K2 2.6.5 removes important SEO options was created by Matt
Fotis introduced in the K2 2.6.4 news these following options:
"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.
"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
Less
More
- Posts: 33
11 years 8 months ago #109755
by xaoc
Replied by xaoc on topic Re: Info: K2 2.6.5 removes important SEO options
Are they back in 2.6.6 ?
Please Log in or Create an account to join the conversation.
- Matt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 56
11 years 8 months ago #109756
by Matt
Replied by Matt on topic Re: Info: K2 2.6.5 removes important SEO options
There is no K2 2.6.6. The latest version is 2.6.5.
Please Log in or Create an account to join the conversation.
- xaoc
- Offline
- Junior Member
Less
More
- Posts: 33
11 years 8 months ago #109757
by xaoc
Replied by xaoc on topic Re: Info: K2 2.6.5 removes important SEO options
they was deleted only from config.xml
variables are still in the plugins/system/k2.php
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
Less
More
- Posts: 56
11 years 8 months ago #109758
by Matt
Replied by Matt on topic Re: Info: K2 2.6.5 removes important SEO options
You can put these back in the config.xml, but they won't work anymore. I checked this.
Please Log in or Create an account to join the conversation.
- xaoc
- Offline
- Junior Member
Less
More
- Posts: 33
11 years 8 months ago #109759
by xaoc
Replied by xaoc on topic Re: Info: K2 2.6.5 removes important SEO options
did you uncomment this line:
//define('K2_USERS_ITEMID', $componentParams->get('defaultUsersItemid'));
in plugins/system/k2.php?
//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
Less
More
- Posts: 56
11 years 8 months ago #109760
by Matt
Replied by Matt on topic Re: Info: K2 2.6.5 removes important SEO options
No I didn't, but thanks for the heads-up.
// 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.
// 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
Less
More
- Posts: 56
11 years 8 months ago #109761
by Matt
Replied by Matt on topic Re: Info: K2 2.6.5 removes important SEO options
As I thought, you still have duplicated URLs with tag and user pages when those lines in the k2.php are commented.
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.
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
Less
More
- Posts: 33
11 years 8 months ago - 11 years 8 months ago #109762
by xaoc
Replied by xaoc on topic Re: Info: K2 2.6.5 removes important SEO options
comment them out and write a new issue about anyK2Link: duplicated urls are back :(:(:( :angry: :angry: :angry: Its in route.php
Log in or Create an account to join the conversation.
- Matt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 56
11 years 8 months ago #109763
by Matt
Replied by Matt on topic Re: Info: K2 2.6.5 removes important SEO options
I doubt that Fotis or lefteris would pay much attention to it, seeing the enormous amount of
unaddressed issues in the SVN
.
I start to think that they don't take their own project serious.
I start to think that they don't take their own project serious.
Please Log in or Create an account to join the conversation.