Exclude Random Redirect from caching?

Use jQuery or Javascript to cycle through and randomly pick one of your links, this way you can bypass the caching? var messages = [“Good!”, “Great!”, “Awesome!”, “Super!”, “Nice!”]; function getMessage() { return messages[Math.floor(Math.random() * messages.length)]; } From https://stackoverflow.com/questions/3419928/how-can-i-return-a-random-value-from-an-array

Getting “Internal Server Error” when enabling ‘Set expires header’ in W3 Total Cache [closed]

The best way to deal with issues like this is referring to the manual. http://httpd.apache.org/docs/1.3/mod/mod_expires.html#expiresactive Syntax: ExpiresActive On|Off Context: server config, virtual host, directory, .htaccess Override: Indexes Status: Extension Module: mod_expires Look at the Context and Override syntax rules. It’s OK to use ExpiresActive in an .htaccess file aslong as you AllowOverride Indexes

W3Total Cache problem with Nginx [closed]

Your main configuration file at /etc/nginx/nginx.conf has some pitfalls and it shouldn’t be that complex. Let me share a simpler version for you to start with… server { server_name www.yourdomain.com; # please replace the root path # ex: /srv/www/mysite.com/public_html root /path/to/wordpress/installation; index index.php; # please update the path to W3 Total Cache’s configuration # ex: … Read more