Possible Duplicate:
using apache’s mod_rewrite to parse SEO friendly URL’s
I am building a site and I am using MVC concepts to dynamically load content. Basically I have a single file, index.php, and distribute the request to the appropriate controller.
So the url “siteurl.com/post would redirect to siteurl.com/index.php?ctrl=post and then the post controller would load the appropriate page.
My question is, is this going to be bad for SEO since I route everything through one page? Is there a better way to do this?
No, it is not bad. You’re rewriting, not redirecting. The client (crawlers included) has no idea what is going on server-side, and doesn’t care. Clients think they are on the URL they are on your friendly URL.
I recommend using a tool, such as Fiddler or Wireshark, to look at the raw HTTP traffic to fully understand what is going on.