Ok so im creating a blog system of mine, for some who might know already.
I know how to create a form and database and send the info into the db and display it. Only by using index.php?id=1 or whatever.
How can I make my blog post be like this.
www.domain.com/archive/2005/05/this-is-a-post
Meaning the blog is within the archive, within the year 2005, within the month of may (05) and the title of the post is calle This is a Post.
How would I go by doing this?
how to do /year/month/title url type
Started by tiki, May 14 2005 01:09 PM
2 replies to this topic
#1
Posted 14 May 2005 - 01:09 PM
#2
Posted 14 May 2005 - 10:50 PM
anyone? anyhelp waht soever, direct me to a tutorial or something.
#3
Posted 15 May 2005 - 03:02 AM
As far as I know, blogs like that have mod_rewrite turned on. This means that the actual URI could be domain.com?y=2005&m=05&p=This%20Is%20A%20Post but has been rewritten to make it look like it's set out as folders.
Sitepoint has some excellent articles about mod_rewrite.
Sitepoint has some excellent articles about mod_rewrite.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
