As WordPress developer I came to point where I have to decide: make some functions as WordPress theme features or make them more optional and theme independent as WordPress plugins. Both options have pros and cons.
Removing WWW from URI (or domain) with PHP
Few weeks ago I wrote how to remove WWW from domain with .htaccess. In some cases or hosting plans it’s not possible to view or use .htaccess file (e.g. some low cost or free hosting providers). Solution is PHP code which redirects all www requests to non www page.
Final cut for my first WordPress plugin
More than one month ago I published my first WordPress plugin “Draugiem.lv/lapas fan page” for social network in Latvia draugiem.lv (FRYPE.COM). And now I want to make final cut with version 1.0 (0.1.5) and upgrade it.
How to remove index.html and/or index.php from the URL
Inspired by my discussion with Kaspars on his homepage konstruktors.com how to better remove index file. So I’ll post both versions, because they use different methods: with and with out RewriteEngine On.
