How can I tell Litemage to ignore certain stores

#1
I have a multistore setup - some are active and some are in development. How do (politely!) ask LiteMage NOT to index particular websites/stores? I only want it to cache the main store.

Please help! Thank youi.
 
#3
Hi @misseppie ,

Try this
Code:
 RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule .* - [E=Cache-Control:no-cache]
Best
Thanks so much for replying so quickly! And please excuse my ignorance. But do you mean to add this to the .htaccess in site root? And if the domain to ignore is in a subfolder called "education", can I add it like:

Code:
 RewriteCond %{HTTP_HOST} ^rbu.com/education/$ [NC]
RewriteRule .* - [E=Cache-Control:no-cache]
 

Unique_Eric

Administrator
Staff member
#4
Yes, in .htaccess file.

If rules work, you should not see any cache hit from the response header.

To avoid cache all other pages under education, you may want to try removing the $ sign

Let us know if it works.
 
Last edited by a moderator:
Top