Skip to content

Instantly share code, notes, and snippets.

View tazeverywhere's full-sized avatar

Sylvain tazeverywhere

View GitHub Profile
@tazeverywhere
tazeverywhere / acf-gallery-wpml.php
Last active August 29, 2015 14:27
ACF Gallery field with WPML
@tazeverywhere
tazeverywhere / wp_changeLoginUrl.php
Last active September 27, 2016 14:12
WP - change login/admin URL
<?php
//////////////////////
// SECURE WP_ADMIN //
//////////////////////
// ---- 1. edit wp-config.php
/* tells wordpress what the new directory is, and updates the cookie path.
define( 'WP_ADMIN_DIR', 'manager' );
define( 'ADMIN_COOKIE_PATH', '/' );
*/
@tazeverywhere
tazeverywhere / Crawl-wget.sh
Last active August 29, 2015 14:21
Crawl wget
// voir ici http://www.createdbypete.com/articles/simple-way-to-find-broken-links-with-wget/
wget --spider -o ~/wget-xxx.log -e robots=on -w 1 -r http://www.xxx
// sans les images
wget --spider -o ~/wget-xxx.log -e robots=on -w 1 -r --reject=jpg,gif,png,jpeg http://www.xxx