Renaming the Omeka Directory: Problem and Solution

Problem: I renamed my Omeka-1.2.1 directory after doing a test run and uploading a couple of items into the database. When I attempted to view those items on the public site, I got this message:
URL /omeka-1.2.1/index.php was not found on this server.

What worked? Renamed the directory in the top-level .htaccess file here:
# If know that mod_rewrite is enabled, but you are still getting mod_rewrite errors,
# uncomment the line below and replace "/" with your base directory.

What didn't work? deleting and reuploading the files; clearing cache and history; rebooting.