The last helicopter out of Wikia ( I believe in Google )

Oct 05, 2008 10:53

Just a brief update. (I'll do more proper status report at some future date ( Read more... )

search engine optimization, decamping, ethical web design, web 2.0, google, wikia

Leave a comment

Comments 1

greenreaper November 14 2008, 18:32:18 UTC
I suggest sitemaps for added search engine visibility of all your pages, not just the front page. There is a generateSitemaps.php file in the maintenance directory. It can also be noted in your robots.txt file with a Sitemap: directive.

Here's the script we use to generate ours, called from a cron job:

#!/usr/local/bin/bash
# Generate sitemaps for all wikis
for wiki in pool cs de en es fr pl pt ru
do
/usr/local/bin/php /var/www/wikifur/prod/$wiki/w/maintenance/generateSitemap.php --server=http://$wiki.wikifur.com --fspath=/var/www/wikifur/prod/$wiki >/dev/null 2>&1
/usr/bin/sed -i -n 's//http:\/\/'"$wiki"'\.wikifur\.com\//' \/var\/www\/wikifur\/prod\/$wiki\/sitemap-index-$wiki.xml
ln -s -f sitemap-index-$wiki.xml /var/www/wikifur/prod/$wiki/sitemap-index.xml
done

exit 0
It's more complicated than you would since you don't have all these wikis. $wiki is replaced with each item of the list. The sed line is to replace the relative paths inside the sitemap index files with ( ... )

Reply


Leave a comment

Up