URL重写从www.example.com/blog/blog.php到www.example.com/blog/

I have a site that to get to the blog section I have www.example.com/blog/blog.php and I would like it to use www.example.com/blog/ The folder structure I have is that blog.php is inside a folder called blog. Do I just rewrite the blog.php to be blog and add it to the top level?

As I see it you want to show blog.php if user typed www.example.com/blog/ in the address bar. You would try renaming blog.php to index.php (You didn't provided any extra information about your web server; I assume it loads index.php as start page by default).