Paolo Bru 6 Posted March 8, 2011 Posted March 8, 2011 Sperando di fare cosa gradita, condivido una piccola modifica effettuata al modulo Google sitemap 1.7.1Ho aggiunto una funzione al modulo e un file cron.php per poter lanciare la generazione del site map attraverso un cron del server, in modo da rigenerarla in modo regolare, senza che lo debba fare il cliente finale.Configurazione1- Aprire il file /modules/gsitemap/cron.php2- Alla linea 14 impostare una propria chiave di sicurezza3- Aggiungere il seguente comando per lanciare lo script:http://url_shop/modules/gsitemap/cron.php?secure_key=XXXXXXXXXXX dove XXXXXXXXXXX è la parola chiave memorizzata nel file. gsitemap.zip 2 Share this post Link to post Share on other sites
maofree 116 Posted March 8, 2011 Posted March 8, 2011 Bravo Paolo B.appena posso lo provo, buona ideaciaooo Share this post Link to post Share on other sites
uddhava 66 Posted March 20, 2011 Posted March 20, 2011 Nice addition to the Presto Change Gsitemap module.Remember that the SECRET KEY cannot contain any special URL Characters like %&? etc.So use only Letters and numbers.Short installation doc:* Upload module* Edit /modules/gsitemap/cron.php and insert a new SECRET KEY* Add the following line to your cron (using directadmin/cpanel etc) : wget "http://WEBSITE_URL_HERE/modules/gsitemap/cron.php?secure_key=SECRET-KEY" * Change the text : WEBSITE_URL_HERE to your website urlTest the validity of your url by either pasting it in the address bar (without wget) or from the ssh console (with wget)ys 1 Share this post Link to post Share on other sites
Fabrice 40 Posted April 26, 2011 Posted April 26, 2011 Great!thank you guys! :-)that's just what I was looking for.. works perfectly. Share this post Link to post Share on other sites
silencl 1 Posted May 28, 2011 Posted May 28, 2011 Fabulous :-) So simple and so great. Thanks for sharing. Share this post Link to post Share on other sites
fitgura 9 Posted July 12, 2011 Posted July 12, 2011 It could be great for 1.4.1 but it is not working on our system!we just use the default gsitemap as v.1.6how it could be a 1.7.1????? is this a really different version?????is it compatible with presta 1.4??? Share this post Link to post Share on other sites
Vallo92 1 Posted July 12, 2011 Posted July 12, 2011 Potete speigarmi in modo un po' più semplice la funzione di questo modulo? xD Share this post Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now