For your WordPress blog 2 types of Sitemaps are relevant. The first is the XML sitemap used by Google. The second is an ordinary sitemap for your visitors, which might also be used by Google by the way. But how to add them? Here’s howto.
Continue reading How to create a sitemap in WordPress
Within WordPress the title is created dynamically. Personally I don’t like the Â» (“& raquo ;”without changes). I’ve got the feeling that Google and other search engines don’t like them. But it’s hard to remove them. The format of the title can be changed in the theme files, but not the Â». Here’s howto.
Continue reading How to remove the » from the title bar in WordPress
Sometimes you want an url to be directed to another location. As php is the major webbuilding language, here’s howto redirect with PHP.
1 Create an index.php file with the following content:
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
2 Save it on the location that needs to be redirected to the new location.
I’ve been looking how to generate a RSS feed in my WordPress weblog and found out that WordPress already created it for me! All I needed to do was create a weblink to http:/ [mydomain] /wp-feed.php. Et voila!
When you add a website to your bookmarkts, sometimes the title is accompanied by an icon. Some browsers (like firefox) even show this icon in their addres bar left of the url. You can make this icon (favicon) for your website by making an 16×16 or 32×32 icon and placing this in the root of your website.
You can make an icon by converting a png file (which can be made using almost any graphics program) to an icon file using the program png2ico.
For examples, look here.
A “guestbook” page in WordPress where comments can be made by visitors can function as a guestbook. In this case it will be nice to have the comments sorted descending instead of ascending on time. This is how you do that: Continue reading Reverse comments in WordPress