Rewrite Update

I have updated the www. and index.php rewrites so that you do not need
to hard-code a domain name.