You are here: Re: Pretty URLs « PHP Programming Language « IT news, forums, messages
Re: Pretty URLs

Posted by Carl Vondrick on 11/10/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация