This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://rpc.pingomatic.com/ | |
https://rpc.twingly.com/ | |
http://blogmatcher.com/u.php | |
http://ping.feedburner.com | |
http://ping.blo.gs/ | |
http://www.weblogues.com/RPC/ | |
http://www.blogdigger.com/RPC2 | |
http://pingoat.com/goat/RPC2 | |
https://www.pingmyblog.com/ | |
http://blogsearch.google.com/ping/RPC2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# canonical redirect to no www | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | |
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
# protect wp-config at all cost | |
<files wp-config.php> | |
Order deny,allow | |
deny from all | |
</files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# robots.txt for wordpress | |
# https://gist.github.com/chuckreynolds/135728 | |
User-agent: * | |
Disallow: /*.php$ | |
Disallow: /cgi-bin/ | |
Disallow: /comment-page-* | |
Disallow: /?s=* | |
Disallow: /search/* | |
Disallow: /trackback/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://audiorpc.weblogs.com/RPC2 | |
http://www.allpodcasts.com/Ping.aspx | |
http://www.podnova.com/xmlrpc.srf | |
http://ping.podcast.com/ping.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add a default Gravatar if user doesn't have one | |
if ( !function_exists('rYno_newgravatar') ) { | |
function rYno_newgravatar( $avatar_defaults ) { | |
$newgravatar = get_bloginfo('template_url').'/images/new-gravatar.gif'; | |
$avatar_defaults[$newgravatar] = 'New Custom Gravatar'; | |
return $avatar_defaults; | |
} | |
add_filter( 'avatar_defaults', 'rYno_newgravatar' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Debugging WP */ | |
define('WP_DEBUG', true); //enable the reporting of notices during development - E_ALL | |
define('WP_DEBUG_DISPLAY', true); //use the globally configured setting for display_errors and not force errors to be displayed | |
define('WP_DEBUG_LOG', true); //error logging to wp-content/debug.log | |
define('SCRIPT_DEBUG', true); //loads the development (non-minified) versions of all scripts and CSS and disables compression and concatenation, | |
define('E_DEPRECATED', false); //E_ALL & ~E_DEPRECATED & ~E_STRICT | |
define('AUTOSAVE_INTERVAL', '300'); // Autosave interval | |
define('SAVEQUERIES', true); // Analyse queries | |
define('WP_POST_REVISIONS', false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function security_remove_emails($content) { | |
$pattern = '/([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})/i'; | |
$fix = preg_replace_callback($pattern, | |
"security_remove_emails_logic", $content); | |
return $fix; | |
} | |
function security_remove_emails_logic($result) { | |
return antispambot($result[1]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function vuurr_nuke_comment_url_field($fields) { | |
unset($fields['url']); | |
return $fields; | |
} | |
add_filter('comment_form_default_fields','vuurr_nuke_comment_url_field'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Change wp-login.php form header logo & link & title | |
function ryno_custom_wplogin_logo() { | |
echo "<style type=\"text/css\"> | |
h1 a { background-image:url(".get_bloginfo('template_directory')."/images/the_new_logo.png) !important; } | |
</style>"; | |
} | |
add_action('login_head', 'ryno_custom_wplogin_logo'); | |
function ryno_change_wplogin_url() { | |
return get_bloginfo('url'); |
OlderNewer