Skip to content

Instantly share code, notes, and snippets.

View chuckreynolds's full-sized avatar
🤖
building things

Chuck Reynolds chuckreynolds

🤖
building things
View GitHub Profile
@chuckreynolds
chuckreynolds / robots.txt
Last active November 26, 2024 07:42
Solid start Robots.txt for WordPress Sites. (HEADS UP: Make sure you're viewing the most recent version of this Gist) https://gist.github.com/chuckreynolds/135728/
# 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/
@chuckreynolds
chuckreynolds / Wordpress .HTACCESS file
Created June 25, 2009 06:39
Hardened .htaccess file for WP installs
# 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>
@chuckreynolds
chuckreynolds / RPC Pint List
Last active August 11, 2021 00:41
Wordpress Ping Setup - updated mid-2021
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