I'm making a blog cms and have been having trouble with making the URLs
look good. Each post goes to a URL like "viewpost.php?i d=40" but I want
the URL to look like "YYYY/MM/TITLE" so it would come out to be
"/2006/03/hey-look-its-march." Does anyone know how to do this in PHP?
And also, what is this process called? I'd like for the cms to do it
automatically for each post entered.
look good. Each post goes to a URL like "viewpost.php?i d=40" but I want
the URL to look like "YYYY/MM/TITLE" so it would come out to be
"/2006/03/hey-look-its-march." Does anyone know how to do this in PHP?
And also, what is this process called? I'd like for the cms to do it
automatically for each post entered.
Comment