View or edit robots.txt
vi /var/www/domains/igniterealtime.org/community/htdocs/robots.txt
View or edit httpd.conf
vi /etc/httpd/vhosts.d/includes/community.igniterealtime.org.conf
View or edit SEO script
vi /var/www/domains/igniterealtime.org/community/cgi-bin/overview.cgi
Display top 10 search terms for the current month:
export YEAR=`date +%0Y` # eg 2009
export MONTH=`date +%0m` # eg 12
export DAY="??" # eg 26
cd /var/www/domains/igniterealtime.org/community/logs/${YEAR}/${MONTH}/
cat ${YEAR}-${MONTH}-${DAY}-access_log|grep ' /search.jspa'|\
egrep -v 'www.google.com/bot.html|www.bing.com/bingbot.htm|benderthewebrobot.tumblr.com|ahrefs.com/robot/'|\
tr '[& ]' '\n'|grep '^q='|cut -d= -f2|sort|\
uniq -c|sort -rn|sed 's#\(\+\|%20\)# #g'|head
These were for 2010.09.??:
162 fastpath
116 video
115 roster
106 spark
102 ldap
93 sso
87 avatar
73 red5
52 vcard
52 active directory