Thread: mod_rewrite
View Single Post
  #74  
Old 12-20-2007, 04:10 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Well basically, the mod adds a new row to the database called "slug".
This slug row contains a "url friendly" version of the title.

For Example:
Image Title: My Sample Image
Image Slug: my-sample-image

Then by patching a few files in Pixelpost, adding some new template tags, and using a little mod_rewrite, one can have urls like this:

example.com/my-sample-image

It can be ported to any version of Pixelpost, but I personally will only have it released for the old v1.5 & the soon to be v1.7.
__________________
Jay Williams | A Different View
Reply With Quote