Hi everyone,

I'm having some trouble implimenting pretty url's on my site, this code worked before but i changed my sites folder hierarchy, but when i changed the code to match the new structure it broke.

What i would like is that some one could type in the pretty URL and on the server side it would be converted into the proper URL, as shown below.

Here is what needs to be done:

Orginal URL:

www.site.com/author.php?name=some-authors-name

Formatted Pretty URL:
www.site.com/author/some-authors-name

Here's code:
Code:
Options +FollowSymLinks
RewriteEngine On  
RewriteCond %{SCRIPT_FILENAME} !-d  
RewriteCond %{SCRIPT_FILENAME} !-f  

RewriteRule ^author/(.*)$ ./author.php?name=$1
Any help would be appreciated.

Thanks,
Maxdream01