link:
My web host is godaddy - they’re not blocking Twitter.
I was able to curl using Twitterbot successfully.
Robot.txt:
User-agent: Twitterbot
Disallow: /
Allow: /caches/
Allow: /scart/
Allow: /scart/product_images/
User-agent: *
Disallow: /cgi/
Disallow: /_db_backups/
Disallow: /caches/
Disallow: /comictouch/
Disallow: /counter/
Disallow: /fansite/images/
Disallow: /fansite/DLOADS/
Disallow: /fansite/games/
Disallow: /fansite/flv_player/
Disallow: /comics/images/
Disallow: /comics/backupads/
Disallow: /comics/bads/
Disallow: /comics/books/
Disallow: /comics/cover_thumbs/
Disallow: /comics/retailerads/
Disallow: /html5/
Disallow: /kfribley/
Disallow: /mmontgomery/
Disallow: /no_crawl/
Disallow: /rmiller/
Disallow: /rrdonnelly/
Disallow: /scart/css/
Disallow: /scart/images/
Disallow: /scart/js/
Disallow: /scart/product_images/
Disallow: /scart/VsKRDGVs9sNCcd/
Disallow: /stats/
Disallow: /timetracker/
Disallow: /wbfhfm/
htaccess:
#file caching:
# DEFAULT SETTINGS
Options +ExecCGI -Indexes
DirectoryIndex index.php index.html index.htm
### DEFAULTS ###
ServerSignature Off
AddType video/x-flv .flv
AddType application/x-shockwave-flash .swf
AddType image/x-icon .ico
AddDefaultCharset UTF-8
DefaultLanguage en-US
SetEnv TZ America/Detroit
SetEnv SERVER_ADMIN marchansenstuff@gmail.com
<IfModule mod_deflate.c>
<FilesMatch "\.(html|htm|css|js)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
Header unset ETag
FileETag None
<FilesMatch "(?i)^.*\.(html|htm|css|js|ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
#Header unset Last-Modified
Header set Expires "Tue, 12 Jul 2011 10:00:00 GMT"
Header set Cache-Control "public, no-transform"
</FilesMatch>
# DONT CACHE
<FilesMatch "\.(php)$">
Header unset Cache-Control
</FilesMatch>
<FilesMatch "\.(js|css|xml|gz)$">
Header append Vary Accept-Encoding
</FilesMatch>
#prevent hotlinking:
#don't forget the blog!
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$|.*jpeg$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !marchansenstuff\.com [NC]
RewriteCond %{HTTP_REFERER} !ralphsnart.blogspot\.com [NC]
RewriteCond %{HTTP_REFERER} !twitter\.com [NC]
RewriteRule (.*) /http://www.marchansenstuff.com/cache/hotlink.png
#https
#RewriteEngine On
#RewriteCond %{SERVER_PORT} !=443
#RewriteCond %{HTTP_HOST} ^(www\.)?marchansenstuff\.com$ [NC]
#RewriteRule ^$ https://www.marchansenstuff.com/%{REQUEST_URI} [R,L]
#301 non-www to www redirect
#RewriteEngine On
#RewriteCond %{HTTP_HOST} ^marchansenstuff.com [NC]
#RewriteRule ^(.*)$ https://www.marchansenstuff.com/$1 [L,R=301]
#redirect http to https
RewriteEngine On
RewriteCond %{HTTPS} !^on$
RewriteRule (.*) https://www.marchansenstuff.com/$1 [R,L]
ErrorDocument 404 http://www.marchansenstuff.com/notfound.html