Topic-icon Improper redirects when cache enabled.

Support Specialist
14 years 8 months ago #13605 by alzander
Just got into the site, but didn't make much progress. You definitely have a lot of extensions installed, so it's tough to know what's causing any issues. The one odd thing I noticed this time about the duplication of code is that each block is definitely 'unique'. If you go to the site without www on the URL, and then look at the code that JomSocial is inserting on the page, you'll see both lines below:
var jax_live_site = 'http://statusselect.com/index.php';
var jax_live_site = 'http://www.statusselect.com/index.php';

As you can see, it's like that section of code is being generated without the www (which is the page I'm on) and also the www version (which isn't the page).

Do you have any ideas what may be trying to always force the www version of the site to do 'something'? I tried disabling a lot of plugins, but again, there's quite a few enabled which makes it difficult to narrow down. If not, can you test the following:
1) Disable all the different caching options (so that the login redirection works) and see if the duplicate code is in the page? If not, re-enable one at a time, and see what one causes the duplication.
2) Try a different template, and see if the same issue occurs.

Good luck, and definitely keep us posted on what you find,
Alex
The topic has been locked.