This question already has an answer here:
To break it down, this is how my sitemap looks like.
http://website.com/home
http://website.com/contact
http://website.com/support
With my index.php handler handling the GET statement index.php?home, index.php?contact, and index.php?support
Currently, my .htaccess looks like this:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} /([^/]+)/?$ [NC]
RewriteRule .* index.php?%1 [L]
So far this works great, however it's limited. I'm integrating a mini blog I designed in PHP that would accept query string to look as so:
http://site.com/blog.php?y=2013&m=02&d=12&title=welcome-to-site-blog
Now, I would like to keep the sites root file structure AND also integrate a blogging file structure. Hopefully to look like this:
http://site.com/2013/02/12/welcome-to-site-blog
Any help would be great. I understand that conditional statements will be required, but I have little to no experience with htaccess.
Thanks in advance, Chris
</div>