Using Multiple Templates On A Site - Question | JoomShaper

Using Multiple Templates On A Site

MH

Matt Hunt

Helix Framework 1 year ago

Good morning, I've got two sites that have more than one template, essentially to diferentiate between classification of pages. The problem I'm finding even though I assign the proper templates to the pages, they don't change with the page. Is there someway to force the pages to use the correct template? I believe it is a cache issue. As reloading the page once or twice and/or deleting the history will get the proper template to show.

0
5 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #166305

Hi there!

Thanks for reaching out.

If clearing caches solves the view, then it's not an issue I think. Did you try to clear your Joomla cache from System?

Best Regards

0
MH
Matt Hunt
Accepted Answer
1 year ago #166306

Cache isn't active on the site as it is still in development, one is anyway. And it happens everytime if you go to one page, then the other and back. So yes, there is an issue.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #166309

Kindly share your admin access to check. Please keep a full site backup before giving the access.

0
MH
Matt Hunt
Accepted Answer
1 year ago #166312

Here is the login information

0
MH
Matt Hunt
Accepted Answer
1 year ago #167532

I think I found the answer on how to turn off browser caching completely. Placed the following in the .htaccess file

# DISABLE CACHING
<IfModule mod_headers.c>
    Header set Cache-Control "no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires 0
</IfModule>

<FilesMatch "\.(css|flv|gif|htm|html|ico|jpe|jpeg|jpg|js|mp3|mp4|png|pdf|swf|txt)$">
    <IfModule mod_expires.c>
        ExpiresActive Off
    </IfModule>
    <IfModule mod_headers.c>
        FileETag None
        Header unset ETag
        Header unset Pragma
        Header unset Cache-Control
        Header unset Last-Modified
        Header set Pragma "no-cache"
        Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
        Header set Expires "Thu, 1 Jan 1970 00:00:00 GMT"
    </IfModule>
</FilesMatch>
0