- Posts: 8
COMMUNITY FORUM
Problem with K2 advanced SEF
- Srdjan
-
Topic Author
- Offline
- New Member
I want it to be "item" prefix without id in the URL, but then I'm getting 404 error when I try to open some particular item.
For example, SITE_URL/category/item/ITEM_ALIAS
I tried to set some other prefix, "article" and it's working, so I think that the problem is in "item" prefix.
prntscr.com/amc9ix
Can someone help me with this?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Did you click on custom prefix?
Please Log in or Create an account to join the conversation.
- Srdjan
-
Topic Author
- Offline
- New Member
- Posts: 8
Krikor wrote: Are you using 2.7 or a previous DEV build?
Did you click on custom prefix?
Yes, I'm using 2.7 version and I clicked custom prefix button.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
It works as intended in all my sites, but if something is caching the URLs in your site (eg: sh404sef) you will not be able to see the new URL pattern unless you purge that cache.
Please Log in or Create an account to join the conversation.
- Srdjan
-
Topic Author
- Offline
- New Member
- Posts: 8
Krikor wrote: Are you using any SEO/SEF extensions or the redirect plugin.
It works as intended in all my sites, but if something is caching the URLs in your site (eg: sh404sef) you will not be able to see the new URL pattern unless you purge that cache.
No, I'm not using any of SEO/SEF/Redirect extensions.
Do you have some test site to set this options exactly like me?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
The item's URL was changed to /prefix/alias instead of /item/id-alias with no issue.
I used article as you want with no issue.
Can you send me a link to your site?
Please Log in or Create an account to join the conversation.
- Srdjan
-
Topic Author
- Offline
- New Member
- Posts: 8
This is a link to the site echotest.realise4.com/
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I will look at your site.
Please Log in or Create an account to join the conversation.
- Srdjan
-
Topic Author
- Offline
- New Member
- Posts: 8
Tnx
Please Log in or Create an account to join the conversation.
- Srdjan
-
Topic Author
- Offline
- New Member
- Posts: 8
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
There is catch however.
Since you are not using IDs in your slugs, you might not get 404 errors but if a same item has the same slug the first item that K2 finds will show up. Since there is no way for K2 to differentiate these two items, there is no way to avoid this bahviour?
Please Log in or Create an account to join the conversation.