Keyword

Remove category alias from url

More
7 years 9 months ago #156486 by Amir
Remove category alias from url was created by Amir
Hi ,

When i make new article and check it in site category alias not showing at url address this happened was after update k2 from 2.6.9 to 2.7 .

I have sh404sef on my site and now k2 2.7

before then i had sh404sef and k2 2.6.9 and good working any thing .

Sampel old link :

http://mydomain/mycategory/myarticle

But No url changed to

http://mydomain/myarticle


Could you please help me to fix it ?

Thank You
The topic has been locked.
  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
7 years 9 months ago #156488 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Remove category alias from url
Check the SEF configuration of both K2 and sh404sef, maybe some parameters are changed after the update.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
The topic has been locked.
More
7 years 9 months ago #156501 by Amir
Replied by Amir on topic Remove category alias from url
Dear Mohamed Abdelaziz ,

Thank you for your time ,

I check it but all parameters is same as before update .

Could you please see below screenshot ?

prntscr.com/bvavxe
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #156502 by Krikor Boghossian
Replied by Krikor Boghossian on topic Remove category alias from url
Are you using 2.7.0 or 2.7.1?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
7 years 9 months ago #156503 by Amir
Replied by Amir on topic Remove category alias from url
I am using 2.7.0
The topic has been locked.
More
7 years 9 months ago #156504 by Amir
Replied by Amir on topic Remove category alias from url
Dear Krikor ,

I changed k2 from 2.7.0 to 2.7.1 now and issue is not fixed .

When i enable category id and check url showing id + category alias but if just enable category alias without id , category title not showing to url address ! i think this is a bug at k2 2.7
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #156558 by Krikor Boghossian
Replied by Krikor Boghossian on topic Remove category alias from url
I created a PR in github which proposes a solution for this issue,
github.com/getk2/k2/pull/343/commits/2f7298c802fc7973237d7b28f8393150065d2093

Can you test the patch and let me know if that works for you?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
7 years 9 months ago #156576 by Amir
Replied by Amir on topic Remove category alias from url
Dear Krikor ,

Thank you for your time , i test it and not work again , but i installing k2 for sh404sef plugin and working fine

Best Regards,
Amir
The topic has been locked.
More
7 years 9 months ago #156578 by Albert Training
Replied by Albert Training on topic Remove category alias from url
Hi-

I'm excited to get JoomSEF working properly for Yootheme's Zoo extension. Android Training | SharePoint Training

Is there a way to remove the category menu item alias from the URL?

I have a menu structure like this: SAS Training

Services (zoo category)
- Technology (zoo category)
- - Technology Service 1 (item in the technology category, not actually a menu item) SQL Training

My URLs look like:

/servicemenualias/servicecategoryalias
/technologymenualias/servicecategoryalias/technologycategoryalias
/servicesmenualias/servicescategoryalias/technologycategoryalias/technologyservice1titlealias

It would be perfect if I could remove the menu item alias completely and achieve a URL structure like: DataStage Training

/servicecategoryalias
/servicecategoryalias/technologycategoryalias
/servicescategoryalias/technologycategoryalias/technologyservice1titlealias R Programming Training

Any ideas? The parameters in the JoomSEF extension for Zoo don't seem to have an option for this.

Thanks!
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #156590 by Krikor Boghossian
Replied by Krikor Boghossian on topic Remove category alias from url
Hello Amir,

Make sure to clear your cache and also make sure that you are not using the redirect plugin or any other SEF extension which caches URLs.

If you were using sh404sef, no changes will be visible unless you purge and regenerate the URLs.

@Albert, you need to ask the JoomSEF devs about this.
By default in K2 the menu item will be respected.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.

Powered by Kunena Forum