Thread: mod_rewrite
View Single Post
  #15  
Old 11-18-2005, 02:13 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
Exclamation

Quote:
Originally Posted by Errrwin
I got it to work using another thread I found using good old Google, but I am wondering if it would be possible to use the title of an image instead of the number in the url?

So

http://vollemaan.net/Sachsenhausen

instead of

http://vollemaan.net/14
In theory, yes.
But it would take some modding to the index.php file, and probably the admin.php file as well.

Not an easy task.

You would probably need to make a new row in the database for the url "name" and have the admin.php file put some info in it. And you would need to change the way index.php does links... it works off and ID row, you would need to change it to your url "name" row instead.

EDIT:
This is now possible. I created an addon for Pixelpost that will do this.
Go to http://forum.pixelpost.org/showthread.php?t=4915 for more information.
__________________
Jay Williams | A Different View

Last edited by jaywilliams; 08-21-2006 at 06:18 PM.
Reply With Quote