Love that .htaccess file

After using the WP admin panel to create a new page (i.e. http://mysite.com/wp-admin/page-new.php for “mypage”) I saw the new link shown on my home page under Pages: http://mysite.com/mypage/. However, I received a 404 when I clicked on this link. I was forced to enter the following URL form instead: http://mysite.com/index.php?pagename=mypage. After fumbling around for a few minutes I realized that my .htaccess file wasn’t being automatically updated by WP (probably due to file access permissions). What triggered this thought was the fact that my posts and feeds both had “pretty permalinks” enabled, but my pages did not. (My posts/feeds solution was to manually create an initial .htaccess file whose contents were copied from the WP admin panel (i.e. http://mysite.com/wp-admin/options-permalink.php).

Update 2/27/2006: I became aware of this excellent .htaccess tweaking resource (via Digg).

-Craig
http://craigrandall.net/
@craigsmusings