How to remove /item/ from k2's urls?

Discuss Search Engine Optimization in relation to Joomla! 2.5. This forum will also have discussions on SEF/SEO Joomla! 2.5 extensions.
Locked
online100
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 11, 2011 5:22 am
Contact:

How to remove /item/ from k2's urls?

Post by online100 » Sat Dec 10, 2011 5:38 am

I used K2 and joomla1.7 to create website.When i turned on SEF,it generated the urls as http://www.mysite.com/dir1/dir2/(dir3)/item/xxxx .There are 3 or 4 directory in urls with are not friendly for Search Engine. So I want to remove /item/ from urls.

For example:
http://www.nanadeals.com/accessories-apparel/jewelry/item/3-05ct-black-diamond-ropework-right-hand-ring-only-99-with-discount-code
to
http://www.nanadeals.com/accessories-apparel/jewelry/3-05ct-black-diamond-ropework-right-hand-ring-only-99-with-discount-code

BTW:I wouldn't like to use SEF extensions,they didn't run well at multilanguage website.

Could anyone tell me how to do?please help.
Many thanks!!
Last edited by online100 on Wed Dec 14, 2011 10:42 pm, edited 1 time in total.

User avatar
drlovecat
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 141
Joined: Sun Oct 05, 2008 6:02 pm
Location: กรุงเทพ ประเทศไทย
Contact:

Re: How to remove /item/ from urls?

Post by drlovecat » Tue Dec 13, 2011 7:11 am

Dear online100
you have to create an k2 menu prior eg. category type, blog type
and point theirs from menu.

cheers,
http://www.thaifoodscience.com ฟู้ดไซน์, อุตสาหกรรมอาหาร
http://www.kunenathai.com มือใหม่อยากแชร์ - Joomla! Kunena -

online100
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 11, 2011 5:22 am
Contact:

Re: How to remove /item/ from urls?

Post by online100 » Wed Dec 14, 2011 10:39 pm

Dear drlovecat
Thanks for your answer.
Yesterday,I tried to point K2 blog ,category and list type to main menu.But it still has "item" in the urls of K2 that just like the article at nanadeals.com/accessories-apparel/shoes.
Would you like to let me know how to do correctly?
Thanks a lot.

User avatar
sapromo
Joomla! Explorer
Joomla! Explorer
Posts: 403
Joined: Thu Sep 07, 2006 5:46 pm
Contact:

Re: How to remove /item/ from k2's urls?

Post by sapromo » Sat Dec 17, 2011 9:39 am

That does not work.

If you don't have a lot of items then create a menu entry for each, that will remove the ITEM. BUT... if you have a lot of items clearly creating a static menu link is not viable (as with me).

Also look for a solution but even the K2 forums don't have the answer and it is generated by the core Joomla SEF.
"... Yesterday is History, Tomorrow is a Mystery, Today is a gift, that's why we call it Present"

online100
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 11, 2011 5:22 am
Contact:

Re: How to remove /item/ from k2's urls?

Post by online100 » Sat Dec 17, 2011 6:55 pm

Have any solution for this issue?

User avatar
sapromo
Joomla! Explorer
Joomla! Explorer
Posts: 403
Joined: Thu Sep 07, 2006 5:46 pm
Contact:

Re: How to remove /item/ from k2's urls?

Post by sapromo » Sat Dec 17, 2011 7:58 pm

Yes, create a menu link to the K2 item like I did on this page http://www.southafricanshop.net/biltong/biltong, see menu on left with link to the item "biltong" thus giving me a clean URL
"... Yesterday is History, Tomorrow is a Mystery, Today is a gift, that's why we call it Present"

online100
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 11, 2011 5:22 am
Contact:

Re: How to remove /item/ from k2's urls?

Post by online100 » Mon Dec 19, 2011 5:42 am

Thanks for your idea.But I have many items,I can't point every one to menu.

User avatar
sapromo
Joomla! Explorer
Joomla! Explorer
Posts: 403
Joined: Thu Sep 07, 2006 5:46 pm
Contact:

Re: How to remove /item/ from k2's urls?

Post by sapromo » Mon Dec 19, 2011 9:17 am

so do I and I only picked the most popular or those who I want the SEO to be better on... for starters as I have over 1000 items would not be funny having to add every single one of them.
"... Yesterday is History, Tomorrow is a Mystery, Today is a gift, that's why we call it Present"

User avatar
kenvin_jbt
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Thu Jan 17, 2013 9:55 am
Location: US
Contact:

Re: How to remove /item/ from k2's urls?

Post by kenvin_jbt » Fri Feb 22, 2013 2:13 pm

I've same probelem, any solution, please... :(
Simple I'm Joomla! guy
http://joomlabesttemplates.com - The collection of Joomla! Best Templates
http://joomlabesttemplates.com/free-joomla-templates/ - Great Free Joomla! templates
Friendly with Joomla! 1.5.x, 2.5.x, 3.0.x and more than...

scorpiock
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 180
Joined: Wed Jan 16, 2013 10:26 am
Contact:

Re: How to remove /item/ from k2's urls?

Post by scorpiock » Sun Feb 24, 2013 7:31 am

You can remove item from URL in Joomla! 3

Login into Joomla! 3 Administration Console
Click on Components>>K2
Click on Parameters
Click on Advanced tab
Enable advanced SEF for K2 URLs and make your settings as below

http://chandan.pro/site/index.php/cms/j ... -k2-joomla

snowman001
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Feb 06, 2013 3:25 am
Contact:

Re: How to remove /item/ from k2's urls?

Post by snowman001 » Tue Feb 26, 2013 2:32 am

Remove an item from K2's url is a very dangerous thing for your the SEO of your site!

User avatar
kenvin_jbt
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Thu Jan 17, 2013 9:55 am
Location: US
Contact:

Re: How to remove /item/ from k2's urls?

Post by kenvin_jbt » Tue Feb 26, 2013 2:36 am

snowman001 wrote:Remove an item from K2's url is a very dangerous thing for your the SEO of your site!
Why do you think that? the 'item' in url is bad with standard url for SEO.
Simple I'm Joomla! guy
http://joomlabesttemplates.com - The collection of Joomla! Best Templates
http://joomlabesttemplates.com/free-joomla-templates/ - Great Free Joomla! templates
Friendly with Joomla! 1.5.x, 2.5.x, 3.0.x and more than...

User avatar
kenvin_jbt
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Thu Jan 17, 2013 9:55 am
Location: US
Contact:

Re: How to remove /item/ from k2's urls?

Post by kenvin_jbt » Tue Feb 26, 2013 2:38 am

scorpiock wrote:You can remove item from URL in Joomla! 3

Login into Joomla! 3 Administration Console
Click on Components>>K2
Click on Parameters
Click on Advanced tab
Enable advanced SEF for K2 URLs and make your settings as below

http://chandan.pro/site/index.php/cms/j ... -k2-joomla
Thank you :pop
Simple I'm Joomla! guy
http://joomlabesttemplates.com - The collection of Joomla! Best Templates
http://joomlabesttemplates.com/free-joomla-templates/ - Great Free Joomla! templates
Friendly with Joomla! 1.5.x, 2.5.x, 3.0.x and more than...

snowman001
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Feb 06, 2013 3:25 am
Contact:

Re: How to remove /item/ from k2's urls?

Post by snowman001 » Fri Mar 01, 2013 8:39 am

As I was also a new in SEO, maybe it is a fault, what I had said!

User avatar
kulot
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed Aug 22, 2007 2:28 am

Re: How to remove /item/ from k2's urls?

Post by kulot » Tue Sep 10, 2013 10:11 am

wow, savior of the day, instead of messing around with the router.php file, this also solves the removal id number in the url

gpullen
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Feb 03, 2012 3:08 am

Re: How to remove /item/ from k2's urls?

Post by gpullen » Thu Sep 12, 2013 1:39 pm

Wow, thank you guys for posting the fix. Only took me 10 seconds on google to come across this thread...

Was having the same problem... ...com/brokerage/item/6-name in the URL, but following the steps above, It now looks much better.

See http://nautorswanusaeast.com/dev/brokerage when you hover over a boat, the URL's are much better!!

;D

User avatar
rafagano
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Tue Dec 17, 2013 4:36 pm

Re: How to remove /item/ from k2's urls?

Post by rafagano » Thu Mar 13, 2014 2:41 pm

Hi there, it's not a Joomla!3 only solution, it's a K2 solution.
It worked for me on Joomla!2.5 and latest K2 ;)


Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 2.5”