Big update on Blackcave.dk
2008-03-23 15:32
I have made a few changes to site. The most important of them all, is the rss-feed. I actually thought I had a feed on the site, but realized that I had not. The feed will bring you the latest posts in my blog.
The urls for the blog has been rewritten so it looks better. Instead of those horrible urls like http://blackcave.dk/blog.php?post=4, the site now uses urls like http://blackcave.dk/blog.php/4 and the same with categories: http://blackcave.dk/blog.php/cat/linux. The old urls not just look ugly, but some search engines might not index pages that are generated dynamically like those. The way I have done it with the new urls, are not the best way to do it. It could have been done with mod_rewrite in .htaccess-fies, but I have tried that before on the host which did not work properly.
The way I did it was to use PATH_INFO and substr in php, example: substr($_SERVER['PATH_INFO'], 1);, the code will return everything thats after blog.php/
I have also added a xml-based sitemap, which makes it easier for search engines to crawl and index the site. There is also a human-readable sitemap for those of you who cares.
Tags: Blackcave.dk, SEO, php
Comments
God dag! Kan jag ladda ner en bild fran din blogg. Av sak med hanvisning till din webbplats!
ChabrellIgan, det gør du bare ;)