Thread: mod_rewrite
View Single Post
  #63  
Old 02-11-2007, 10:55 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
Quote:
Originally Posted by «XLV» View Post
Could someone help me get URLs like this please?:

http://wvs.topleftpixel.com/07/02/10/

So that date URLs translate nicely into post dates.
Is it possible?
Yes

Is it easy to do?
No

You could setup mod_rewrite like this:
Code:
RewriteRule ^([00-99])/([1-12])/([1-31])$ index.php?get_year=$1&get_month=$2&get_day=$3
But unfortunately, the simple mod_rewrite rule would only be a small part.
The larger part would be getting Pixelpost to understand URLs like that.
Which is not an easy task.
__________________
Jay Williams | A Different View
Reply With Quote