URL

Phoca SEF - redirect extension for Joomla! CMS
mikac
Phoca Member
Phoca Member
Posts: 18
Joined: 07 Aug 2010, 01:34

URL

Post by mikac »

Hello, I want to remove parameter Category and the number that shows before every category in the URL :

http://foodsociety.net/category/8-salads.html
http://foodsociety.net/category/68-cheese-salad.html
http://foodsociety.net/category/12-wine.html

Every Category and Subcategory has the number in front of it. Let me just add that this was the case before and after sh404SEF.

How to turn this off automatically?

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48378
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL

Post by Jan »

Hi, the "category" string is there because of making difference between image and category. In case there will be no "category" string the system will not know if the id is image id or category id.



Jan
If you find Phoca extensions useful, please support the project
mikac
Phoca Member
Phoca Member
Posts: 18
Joined: 07 Aug 2010, 01:34

Re: URL

Post by mikac »

Just to make sure....There is NO way to display Category/Subcategory in the URL without ID?

Category - http://foodsociety.net/category/8-salads.html
It's Subcategory - http://foodsociety.net/category/68-cheese-salad.html

Can I at least remove 'category' part? Can it be like this:

Category - http://foodsociety.net/8-salads.html
It's Subcategory - http://foodsociety.net/8-salads/68-cheese-salad.html


Is there any plugin for sh404SEF that work?

Thank You so much.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48378
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL

Post by Jan »

Hi, it is system solution and the system does not know that in some category there will be no image :-( - second the menu links are created by itemids - menu item link ids - and the same link is used for the whole tree - so if you remove some string in category and you click on subcategory then the string will be remove there too (then there will be conflict with images :-( :-( )


Anyway - you can try to remove it in router helper (I didn't try this so cannot give any advice there :-( )


Jan
If you find Phoca extensions useful, please support the project
Post Reply