Keyword

Some Selected items are rendering a different article to base href address

  • Paul Mason
  • Paul Mason's Avatar Topic Author
  • Offline
  • New Member
More
3 years 4 months ago - 3 years 4 months ago #177489 by Paul Mason
Recently I noticed that when selecting an item in a category, the wrong item is displayed

EDIT: I disabled custom SEF settings and all works now. I will need to do some research on the custom SEF settings section before I use it by the look of it.
Does anyone have any advice/observations about that?

for example go to
ducks.org.nz/flight-magazine/content/81-flight-magazine-plus
and select any category - e.g.
ducks.org.nz/flight-magazine/content/158-issue-179
then select any article - e.g.
ducks.org.nz/flight-magazine/9-flight-magazine/81-flight-magazine-plus/issue-179/387/ramsar-status-for-wairio

But the item for a different article is rendered
Even though the URL still shows the selected target it actually renders:

ducks.org.nz/flight-magazine/9-flight-magazine/81-flight-magazine-plus/issue-169/81/plovers-go-to-russia-for-love

screenshot:
prntscr.com/vo97nk

I don't know where to look to figure out why it's happening

It also happens on other devices.
I have tried:
clearing the browser cache
opening on a different device
opening and re-saving some items
Deleting .htaccess
disabling SEO plugin
Disabling joomla rewriting

Un-publishing the russia article generates a 404 error

In the inspector, the base href is shown correctly, but the rendered page is always from ducks.org.nz/flight-magazine/9-flight-magazine/81-flight-magazine-plus/issue-169/81/plovers-go-to-russia-for-love

How does K2 call the content? Is it likely to be a data indexing problem?
Last edit: 3 years 4 months ago by Paul Mason.

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

More
3 years 4 months ago #177512 by JoomlaWorks
The URL router for the "Advanced SEF" option was changed in v2.10.3 and under certain cases, may produce buggy URLs. Either switch it off, or just replace component/com_k2/router.php with the copy from K2 v2.10.2: jmp.sh/CZ2oMKG

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