• Home
  • Get help
  • Ask a question
Last post 46 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67862
All time tickets 10487
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#811 – Title showing incorrectly through 'latest articles' module

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 05 August 2015 11:29 UTC
synapticmedia
Hi,

I have a bit of a weird problem with the titles on one of our sites that I've not seen before.

We have a custom page title set in sh404SEF which works fine the majority of the time. However, if you access the article through the 'latest articles' module it the custom title is replaced with the article title (see attached image for example). This now remains in place until the cache is cleared.

There are no duplicate URL's showing in the URL manager of sh404SEF and if you clear the cache and refresh the page it now shows the correct sh404SEF url. However if you click on the latest articles link it reverts to the article name.

I'm assuming this has something to do with the module itself causing issues with sh404SEF? Do you have a suggested solution?

Cheers,

Matt
Wednesday, 05 August 2015 11:59 UTC
wb_dimitris
Hi,

what are the cache options for the module?
If you disable caching (setting time to 0) the problem is solved?

Regards
Wednesday, 05 August 2015 12:10 UTC
synapticmedia
We're using the page cacheing plugin rather than the module based one as it was causing issues on the site. It's the standard official joomla one included with all installs as an alternative to the core.

I have just turned caching off completely though and the problem does seem to not occur whilst it's off, but as soon as it's turned back on it comes back.

Just out of curiosity I tried turning cacheing for the module off and also set the cache time to zero but the same thing happens.

Cheers,

Matt
Thursday, 06 August 2015 17:16 UTC
wb_dimitris
Hi,

These are two very different types of caching. The plugin page cache will render your site STATIC, so no extra processing will be done once the page is rendered once. That means that all the caching option in modules etc won’t matter since the page is cached as a whole.

The other one, found in Global configuration works by caching only data that is instructed by the code to do so. In this case the cache options in modules etc will be obeyed.

As a last comment, using page caching is very efficient but requires the dynamic content to be called through AJAX calls, which makes really hard to implement.

Regards
Thursday, 06 August 2015 17:35 UTC
synapticmedia
Hi,

The site actually uses primarily static content so page caching works fine for us.

What really confuses me is that the page title is changing even though the page has been cached - so if the cache is cleared and then the page is loaded through regular navigation it shows the correct sh404sef page title. Then even with this cache in place if you click on the latest articles link the page title changes and starts ignoring the one set in sh404sef (and then remains like that until the cache is cleared).

Do you know why this is or what we can do to make sh404sef remain in control of the page title?

Cheers,

Matt
Thursday, 06 August 2015 19:39 UTC
wb_dimitris
Hi,

One thing that really matters for the plugins is the order in which they are executed. So it worth spending few minutes to write down the ones that are on the list of ordering for Page cache and then change that order to see if that fixes the behavior you mentioned above.

Regards
Monday, 17 August 2015 17:37 UTC
synapticmedia
Hi, apologies for the delay on this.

Looking at the order of the plug ins I noticed that the page cache plug in was higher up than the sh404sef system plug in - does sh404sef need to be higher than the cache then?

I've moved them around and seems to be fine for now, so it looks like it may have solved the problem - thanks for that.

Unless that wasn't what you meant?
Monday, 17 August 2015 17:39 UTC
wb_dimitris
Hi,

That was exactly what I meant. You should be fine now.


Regards
Monday, 17 August 2015 17:42 UTC
synapticmedia
Fantastic, thanks
Tuesday, 18 August 2015 13:10 UTC
wb_dimitris
Hi,

I am gonna close this one, but feel free to open another ticket in the future.

Regards
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.