| 
 Posted by Carl Vondrick on 06/14/57 11:41 
Laeronai wrote: 
> 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?id=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. 
>  
 
If you are running off Apache, you should look into mod_rewrite.  Just  
do a Google search for more info. 
 
Good luck 
 
--  
Carl Vondrick 
www.carlsoft.net 
usenet [at] carlsoft [dot] net
 
  
Navigation:
[Reply to this message] 
 |