How can you change this url
into this url
http://www.example.com/2010/02/05/Post_Name/
using .htaccess
by the way, the date and name will come from a mysql database
Thanks!
How can you change this url
into this url
http://www.example.com/2010/02/05/Post_Name/
using .htaccess
by the way, the date and name will come from a mysql database
Thanks!
You can’t use MySQL in .htaccess files.
What you’d want to do is let PHP redirect using the header() function.
manu,
Well, you can BUT you MUST have access to the httpd.conf as it would require a RewriteMap. In other words, ScallioXTX is correct (for all practical purposes).
Besides, you’re doing it all wrong! Have a read of the tutorial linked in my signature as the regex section will show you how it should be done (near the end - look for “title”).
Regards,
DK