samedi 7 mars 2015

Beating Godaddy cache with .htaccess redirect?

I am in the odd situation of needing to combat the Godaddy caching system for a friend who refuses to move to a more suitable hosting platform for a Job Aggregator that she has.


In short, the site needs a cronjob to call for data from XML feeds of partner sites, cron jobs are not possible on the plan that she is on ( she will not move).


I have used http://ift.tt/1mtLqg8 to get around this hurdle- however find that Godaddy are caching the call page, meaning that it fails to trigger.


A bit out of my depth, but something is telling me that I should be able to find a way to force the call to trigger.


So, if I set the ceasycron.com to search for http://ift.tt/18r0eIm and then do a 301 redirect in .htaccess to http://ift.tt/1BetyNL with the ability to add a random string to http://ift.tt/1BetyNL for example http://ift.tt/18r0ffo im thinking that this would do the trick


I am OK with adding a redirect, however can anyone offer any advice on how I would go about appending a random string each tim ethe url is called?





Aucun commentaire:

Enregistrer un commentaire