Ubuntu upgrade broke WordPress

Something with my past two Ubuntu upgrades broke all the internal links on my blog running on WordPress.

It turns out the upgrade process changed the name of the target link on the .htaccess symbolic link file under my WordPress install directory.

After the install this is what was linked:

.htaccess -> /etc/wordpress/htaccess

Notice the missing “.” in .htaccess.

To fix it, I had to update the link to with

 >> ln -sf /etc/wordpress/.htaccess .htaccess

All the links work again!

Ubuntu upgrade broke WordPress