2011.05.31.10.45
When I upgraded to Snow Leopard, the permalinks (clean URL’s) on my local WordPress setup stopped working.
Instead of getting:
http://localhost/my-nice-permalink/
I would get:
http://localhost/?p=555
I was too busy then and couldn’t care less so I left it alone. Now I’m working on my blogs again and it sucks not to have permalinks working. So I did a little Google search and it turns out it wasn’t rocket science to have this turned on.
So now I’m going to show you how to enable mod_rewrite on Snow Leopard.
- Open /etc/apache2/users/<username>.conf
replace <username> with your Mac username
- Then change this:
<Directory "/Users/<username>/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
to this:
<Directory "/Users/<username>/Sites/">
Options Indexes MultiViews FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
- Restart Apache under System Preferences » Sharing » Web Sharing
And you’re good to go. mod_rewrite is now enabled and your permalinks will work.
for weeks i’ve been going crazy cuz techfresh.net’s auto backup wouldn’t work. the subdomains were fine, and all my other blogs would backup regularly, just not techfresh.net.
another problem was that techfresh.net’s archive page would never finish loading. in other words it’s constantly cut off.
http://www.techfresh.net/archives/
and yet another problem, i couldn’t export techfresh.net’s database from phpmyadmin. it would return a zero sized file. so i’m left with mysqldump, which is a big hassle.
headache headache headache.
days of headache.
weeks of headache.
worrying. that. something. bad. would. happen. and. i. wouldn’t. have. backups. oh God!!
then.. a little epiphany.
php memory_limit
*doh*
how stupid have i been? techfresh.net’s database is like 45mb and the memory limit was 32mb. doh doh doh!!
so i increased it to 64mb, restarted plesk and voila!
and the archives are showing fine now too!
hope this little folly will find its way to help somebody else in the future.
tracking changes, post anywhere, turbo speeds and theme previews, what more can you ask? oh and word count, image captions, drag and drop galleries, somebody stop me already!!!
I’m finally caught up with WordPress 2.1.3 but WordPress 2.2 is just around the corner. Ok maybe I’m not so caught up since I still have a few blogs to upgrade but it feels good to be caught up here at the very least.
There, enough geek talk.
Now as far as work’s concerned I’m still waaaaay behind schedule. So I guess I’m not caught up at all.
K2 is looking sweet. I’m going to redesign this blog based on K2 and I’m going back to a clean white background. Expect a reboot soon!