Monthly Archive for September, 2007

Search and you will find…

I was having caching problems with the search functionality across two of my MovableType blogs. At first I thought it was a problem with the FastSearch plugin I was using. But my other blog was having similar problems and was not using the FastSearch plugin. It turns out that I had the page caching option enabled in mtview.php:

$mt->caching = true;

Once I commented out this line the search worked fine.

I also noticed that in migrating over my blogs from MovableType 3 to MovableType 4, MT4 created a different naming convention - leaving all the old MT3 files in the archive directories. So I decided to delete all the archive files and just rebuild/republish the site. I needed a Linux command that would recursively go through all the directories and delete all php files. After consulting google I found my answer:

find . -name \*.php -exec rm {} \;

Comments





Homeowner Loan - Renegade motorhomes - New York Hotels - Debt Help