Category Archives: acr

Automatically Create RewriteRules for a given site

auto rewrite rules and google sitemap generation

Although we’re very busy in work at the moment, the last few evenings I have been pythoning myself up and have come up with 3 nifty little scripts.

Usage of all three is quite simple –

python scriptName.py http://www.karova.com

There is also a zip archive for download. As you can see I have started using Google Code project hosting. It suits my needs perfectly as it’s simple to use and the SVN server they are using is hellish quick. I’ve named the project acr (Auto Create RewriteRules). For a sample of output see http://www.karova.com/sitemap.xml . The rewrite rules was written as a personal project but also for KarovaStore – So expect release 2.1 to have clean urls and auto google sitemaps.

Update:

Yes I know Google have their own sitemap generator but mine is alot easier to use.