- Posts: 4
COMMUNITY FORUM
K2 SEO issue - Can it be fixed?
- Ryan
-
- Offline
- New Member
itemlist/tag/DIOR%20MYLADYDIOR6/S%20%20Dior%20Sunglasses
mostly the %20 stuff... but I see some other funny stuff also.... am I incorrect in thinking this will be resolved if I just buy sh404sef?
Note: I do have duplicate urls in my sitemap for k2 also....
one set with the component/k2/item/number-itemTitle
and another set with /category/number-itemTitle
Please Log in or Create an account to join the conversation.
- yaksushi
-
- Offline
- Premium Member
- Posts: 157
Peter wrote: Hey has the duplicate url issue discussed in the fist post (7 months ago) been resolved, because if it hasn't why is Admin telling us to get sh404sef ?
I have been building my site for months now using K2 and today - when I almost finished - to my surprise I realized that K2 has been building a lot of duplicated URLs. The guys over at anything-digital said that it's a K2 issue and not a sh404SEF issue, which is cleary true.
First the damn tags are producing a duplicated URL every time an article has been posted with already an existend tag. This describes it pretty well.
This issue is not new to K2, related threads has been posted in the past with not so useful solutions.
It seems to me sh404sef developers blame k2, who blame Joomla in the meantime nothing changes, it seems the ball is squarely in k2's court, why not get together with anythingdigital to make & sell a plugin that works gets rid of this duplicate content problem once & for all instead of passing the buck.. The way i see it it's in every bodies best interest to get this sorted.
Peter I 100% agree! I'm still waiting on a solution to this issue.
Please Log in or Create an account to join the conversation.
- chilly_bang
-
- Offline
- Junior Member
- Posts: 38
Please Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
You really thought that people would make menu items for each tag? Are you admitting that K2's SEO is bad without an SEO extension?
Please Log in or Create an account to join the conversation.
- chilly_bang
-
- Offline
- Junior Member
- Posts: 38
btw: the advice to use menupoints for each category doesn't work.
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.
- chilly_bang
-
- Offline
- Junior Member
- Posts: 38
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
First off, noone is conspiring against you. If your submission was unpublished, it's because you edited it after it was moderated by the K2 team. It will be back on shortly.
Secondly, don't be a dick again. Saying we get kickbacks from Anything Digital is insulting the least... Get your shit straight and understand that K2 only uses the default mechanism in Joomla! to create URLs.
If I see 1 more idiotic comment you'll be banned without a warning.
Please Log in or Create an account to join the conversation.
- chilly_bang
-
- Offline
- Junior Member
- Posts: 38
The thing, which makes me still wondering, is, that only my idotic comments has moved you to answer in a thread, which exists since a year and more than 5000 K2 users are waiting for K2 teams reaction. I'm a K2-newbie and my first touch with K2 was this issue, which was unrepaired and not answered. You must not wonder and not be offended, if in such thread idiotic comments are coming up - it is your forum and you have all possibilities at any time to answer. But you haven't till now. And if there is no answer, so i may think you get kickbacks from anithingdigital, from god, from devil, from bin laden ;)
K2 is crazy good component, but a bug is a bug, and 5000 users, which are waiting for you, may become impatient with time. And they have all reason for impatience.
Since the hack is in the tips and tricks i would suggest you close this thread which makes newbies confused.
Please don't be offended - i haven't intended so. But please take serious such threads, even if you can't answer something, just communicate it, say, you will answer after you go deeper into issue, something to let us know, you are with us, and if a problem is serious for us, so please take it equally serious.
all the best from Berlin
Evgenij
Please Log in or Create an account to join the conversation.
- Matt
-
Topic Author
- Offline
- Senior Member
- Posts: 56
Since I can't respond in this review directly, I will do it here.
What you fail to understand is that K2 simply follows the Joomla! framework guidelines when it comes to URLs. For example, take this URL from a recent Joomla! announcement on joomla.org (it's the core Joomla! article system):
The URL is www.joomla.org/announcements/release-news/5471-joomla-3-0-2-released.html
But one can easily do this too:
www.joomla.org/announcements/release-news/5471-joomla-3-0-2-released-wow-some-extra-stuff-on-the-URL
Both URLs will render the same page of course. Now, this is not a bad thing SEO wise. SEO - which you fail to understand obviously - is not related in any way to how one or more users can manipulate a site's URLs. This is stupid if you think about it... SEO is about ordering/organizing a site's content so that search engines can pick up that content easily. The easiest the better for a site.
Dear lefteris, fotis or whoever replied to my review, yes I am very well aware that K2 uses Joomla's guidelines to build URLs, but what YOU fail to realize is that the issue isn't the possibility to add some stuff to any URL without getting a 404 error, it's K2's behaviour to build URLs, which depend on what page they are created, that all point to the exact same content.
Have you installed sh404sef and saw how many duplicated URLs you have? Your database will be bloated with thousands of duplicated URLs and this can't be good. Why is it so difficult to make for every item one unique URL?
Another huge problem are tags. Tags aren't assigned to menu items (and no, nobody in their right mind would create 2000 menu items for their 2000 tags), so depending on what page you currently are, you always get a different URL to the same tag. And I'm not speaking about the complex non-SEF urls, but about the SEF urls of Joomla's native component.
For examlple, on your frontpage you have articles with many tags. The URLs of those tags are as follows:
domain.com/component/k2/itemlist/tag/example
Now if you go to article view you would get a URL to the exact same tag as follows:
domain.com/category/subcategory/itemlist/tag/example
If you go one category up you would get this:
domain.com/category/itemlist/tag/example
And these are not made up, they are real URLs and of course google will pick them up and categorize them as duplicated URLs.
Don't you see this issue? Is it Joomla's fault? Do we have to install a SEO component? Then why doesn't Flexicontent have this issue? Why does the K2 hack from above resolve this issue and why couldn't you submit this hack? Answer this question please and don't ignore it like you did in the review.
Oh and just because Joomla's native SEO is useless for production sites doesn't mean that every component should use the same guidelines for building URLs.
Of course you did. You implied it by saying we should either install a SEO extension or create dozen of menu items.Anyone can read the URL you posted back to the K2 Community, but sorry, I'm not admitting anything.
You mean flexicontent? If flexicontet creates unique URLs for each tag and K2 not, then certainly their URLs are better.As for the other claims...
a) "other extensions offer better URLs": if they are native extensions, no they don't
Bad support is when people create threads asking for help to resolve issues that are ignored by the devs for years. Just have a look in your own forum. So many unresolved threads and you still claim in an reply to a review that the community is very active? Yes, they are active in asking questions, which remain unresolved.b) "K2 support is bad": define bad support for a free extension first. We're not elitists. If we were, we wouldn't have released K2, better yet, we wouldn't have launched a community.
Regardless if your extension is free or not, if you make a product and offer it to endconsumers you should support them. Look at other communities and other FREE extensions, there are hundreds of them and are supported by the devs that don't earn a single penny off of it. If you are not ready to provide FREE support for a FREE product, then you should have made K2 commercial in the first place or just don't release it at all.
You might wanna look for some other CMS perhaps. I strongly suggest Google's Blogger cause a) it's built by Google (= "beautiful" SEO for the paranoid ones) and b) it's free like K2.
Give us a break will ya?
What I and I think everyone who read your replies to K2 reviews noticed is that you have a very strong attitude. It's like you lash out on everybody who criticizes K2, whether it's justified or not. Perhaps you think because K2 is free, it's ok to do that.
Finally just a heads-up regarding other SEO matters in K2. You claim K2's SEO is excellent and yet I had to rework the whole K2 template to make it more search engine friendly. For instance you are using wrong heading tags for article titles in blog/category view. Both articles and sidebar content use h3 tags. This means that you degrade K2 articles to sidebar content. But yeah, keep pretending K2's SEO is excellent.
Please Log in or Create an account to join the conversation.
- chilly_bang
-
- Offline
- Junior Member
- Posts: 38
Please Log in or Create an account to join the conversation.
- Michelle
-
- Offline
- New Member
- Posts: 3
I tried inserting your hack but nothing changed. I'm not very good at this type of thing. Is there somewhere specific within the category item php file where I should insert the hack? Thanks for the help. This entire thing is extremely frustrating with the duplicate links.
Please Log in or Create an account to join the conversation.
- Yiannis K
-
- Offline
- New Member
- Posts: 4
chilly_bang wrote: Hi all!
Here the hack to avoid duplicated URLs
For an item:
take the file: components/com_k2/templates/default/item.php from your K2 template. AddFor a category:<?php if ($this->item->link!= JRequest::getURI()) JApplication::redirect($this->item->link,'','' ,true); ?>
take the file
components/com_k2/templates/default/category_item.php from your K2 template. Add<?php $this->original_link = JRoute::_(K2HelperRoute::getCategoryRoute(JRequest::getVar('id'), 0)); if (JRequest::getInt('start') > 0) $this->original_link .= "?start=" . JRequest::getVar('start'); $this->real_link = JRequest::getURI(); if ($this->original_link != $this->real_link) JApplication::redirect($this->original_link,'','' ,true); ?>
The hack will redirect all duplicated urls to the single right one.
Use at your own risc and remember:
with this hack no parameter can be pushed with any url. Your print pages etc will not work anymore (print page will be loaded WITH template).
I couldn't use multiple categories in menu. Returned a 404 error, so I had to remove the categories hack at least..
Please Log in or Create an account to join the conversation.
- Creative Immense
-
- Offline
- New Member
- Posts: 3
The hack to avoid duplicated URLs from Chilly_bang is working but I still have the item id number in the link.
Is there someone who knows how to remove the item id from the link.
I have for example: http://www.yoursite,com/item/16-joomla-k2-problem-item-id.html but I want it like this http://www.yoursite,com/item/joomla-k2-problem-item-id.html without the item id number.
Please can someone help me?!
Greetings Mike
Please Log in or Create an account to join the conversation.
- Creative Immense
-
- Offline
- New Member
- Posts: 3
New k2 update and the SEO problem is fixed!!
Everthing works great! Good work k2! :-)
Greetings Mike
Please Log in or Create an account to join the conversation.
- Ganesamoorthy N
-
- Offline
- New Member
- Posts: 1
Mike wrote: Hello everybody,
New k2 update and the SEO problem is fixed!!
Everthing works great! Good work k2! :-)
Greetings Mike
Could you please mention the version of k2, because i have same issues with the version 2.6.3
Please Log in or Create an account to join the conversation.
- Creative Immense
-
- Offline
- New Member
- Posts: 3
K2 v2.6.5 but I still have the SEO problem. So I put the fix back in the item.php
Greetings Mike
Please Log in or Create an account to join the conversation.
- Neil Forrester
-
- Offline
- Junior Member
- Posts: 25
I have been looking into this issue myself and even went down the route of employing someone in htaccess coding skills to rewrite the URL.
After spending too many hours on this I now have it working.
- Back up your site using Akeeba Backup
- Download the latest version of K2 which is currently K2_v2.6.5.zip.
- Remember, if you have made any changes to the K2 CSS files without creating an override they will be written over. So keep any necessary files.
- Install K2_v2.6.5.zip via Extensions Manager
- Now go to Components / K2
- Click the Parameters button top right
- A window opens up - click the Advanced tab
- Scroll down to Advanced SEF Settings
- Enable advanced SEF for K2 URL's - Yes
- Use the item ID in the URL - No
[img size=74kb]www.pixelfire.com.au/images/k2-sef-settings.png[/img]
Save and close.
These settings have worked for me. I wish I had only upgraded my K2 before spending too many bloody hours on this issue. Oh well - it's working fine now and it's great.
Don't forget, if you have a few Items that people access through a category listing you will need to update the redirects for their URL's which I now need to do so I'll have to disable the new SEF until I have a full list of redirects I need to set up.
Example URL change:
www.pixelfire.com.au/website-and-graphic-design-blog/item/121-top-10-joomla-extensions
Now becomes:
www.pixelfire.com.au/website-and-graphic-design-blog/top-10-joomla-extensions
Also this guy at the bottom of this URL has some good ideas for avoiding duplication of URL using the No Numbers Sourcerer and the rel="canonical" tag. It's worth a look.
forum.joomla.org/viewtopic.php?t=624631
Hope that helps.
Cheers,
Neil.
Please Log in or Create an account to join the conversation.
- Neil Forrester
-
- Offline
- Junior Member
- Posts: 25
www.pixelfire.com.au/website-and-graphic-design-blog/item/122-how-to-remove-item-and-item-id-from-a-k2-url
I hope this helps all of you :)
Good luck.
Please Log in or Create an account to join the conversation.
- Passy
-
- Offline
- New Member
- Posts: 5
How can remove component/k2/ from my URL
For example:
www.domain.de/component/k2/article
to
www.domain.de/article
Thank you for your help :-)
Please Log in or Create an account to join the conversation.