PDA

View Full Version : Short URL possible?


iphoto
November 11th, 2004, 05:16 PM
I am quite impressed by PP. But before I come to any conclusion, have a basic question.

If I have a user called "user" then is it possible to have a simpler url for his Album/Gallery?
viz. http://site.com/photopost/user

Would appreciate quick answer :)

Michael P
November 11th, 2004, 06:34 PM
It's only possible using a mod rewrite (on any system); but the software could easily be modified to handle it. That kind of URL would have to be rewritten to execute a script with the user as a parameter and the showgallery.php script could be modified to take a username as an option to search for. About 8 lines of code with a line of rewrite.

Keep in mind, this may not work in all systems where using use non-alpha/numeric names like "Tom & Jerry":

http://www.yoursite.com/Tom & Jerry

would not be a valid URL.

iphoto
November 11th, 2004, 10:25 PM
Michael,

Thanks a lot. I have already placed an order and awaiting Lic and download information.

Cheers :)