Easily Edit Grub files in Ubuntu

sudo apt-get install startupmanager

System > Administration > StartUp-Manager gives you a GUI for editing the Grub configuration

WordPress Pretty Permalinks

Just reinstalled wordpress after a computer malfunction a few days ago, and setup rewriting to allow pretty permalinks.

Note that these instructions are for Ubuntu (On 9.10)

Steps were

  1. Open a terminal and type “sudo a2enmod rewrite”. This will enable the mod_rewrite module in apache
  2. Open the httpd.conf file and put this in there: (Note the directory path at the top to the wordpress installation)
    <Directory /var/www/wordpress>
      Options FollowSymLinks
      AllowOverride All
  3. Open up wordpress’s administration page and Expand “Settings”
  4. Click on “Permalinks”
  5. Select the format that you alike (I chose “Day and name”)
  6. Click “Save Changes”
  7. If your .htaccess is writable (and exists) then you will probably be right to go. If it is not then you should create it and add the content that wordpress gives you underneath the save changes button…
  8. Restart apache (sudo /etc/init.d/apache2 restart)

The content of my .htaccess file for the “Day and name” option was as follows:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
# END WordPress