Keyword

SEF Category URL prefix

More
4 years 4 months ago #174223 by JoomlaWorks
Replied by JoomlaWorks on topic SEF Category URL prefix
The new router is already in the dev version. Don't replace it.

And yes, using another menu item will allow having 2 templates for your site. And you could assign the 2nd template to the hidden menu item for K2 as well.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #174224 by blue_Shift
Replied by blue_Shift on topic SEF Category URL prefix
I can confirm now that only the one component has the issue. I'm going look at your code to see if I can patch or override the current installation. The url string is long, but it's now legible and clean.

update: If I create a menu item to the parent link I can eliminate '/component/k2' via url rewrite, if necessary (ie, the developer is slow or my attempt at a patch fails.).
Last edit: 4 years 4 months ago by blue_Shift.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #174225 by JoomlaWorks
Replied by JoomlaWorks on topic SEF Category URL prefix
That's good to know :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #174226 by blue_Shift
Replied by blue_Shift on topic SEF Category URL prefix
The rewrite in htaccess works fine (until the developer gets their stuff together, kind of a holiday around here now). All the items on the test page show, but only a couple categories can be accessed directly (Nowy Jork and New Jersey produce 404's). The only thing I can think of is that both begin with 'N'?    : ]

bit.ly/38XOkXn

edit: It's the graphics component. Have a good holiday!
edit: now the url is correct but the category still producing 404. probably something I've misconfigured.
Last edit: 4 years 4 months ago by blue_Shift.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #174231 by JoomlaWorks
Replied by JoomlaWorks on topic SEF Category URL prefix
Avoid doing any rewrites in .htaccess. This may mess other things. It's best to just edit the main file in that module that creates the K2 item links and make sure it uses both JRoute and K2HelperRoute as in the code example I already referenced: github.com/getk2/k2/blob/master/modules/mod_k2_content/helper.php#L286

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #174234 by blue_Shift
Replied by blue_Shift on topic SEF Category URL prefix
Whether I use the htaccess or not, the some of the category links produce 404's, but some do not - not sure why that would be. They are all constructed in precisely the same way.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #174235 by JoomlaWorks
Replied by JoomlaWorks on topic SEF Category URL prefix
Are you referring to URLs from the new URL router or URLs from that slideshow module you have?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum