Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Pretty Urls with Mod Rewrite
02-11-2008, 10:56 AM #1
- Join Date
- Dec 2006
- Thanked 0 Times in 0 Posts
Pretty Urls with Mod Rewrite
i'm having trouble making a .htaccess file that will accept up to 10 variables and it doesnt matter if they have content in them or not.
For example if i have sitename.com/param1/param2/ i would like it to translate to
Now if there isnt 10 parameters i dont want it to 404 and i need it to allow any type of chars i will do validation in the script so does anyone know how to do this. How trulia.com formats its urls is exactly what im trying to do
Last edited by thekevin07; 02-11-2008 at 11:06 AM.
02-11-2008, 12:43 PM #2
then just write a rule that has 10 sports in it. That website no dbout uses this, because the variables need to be in a specific order to work. So the forst /param/ is always state... and so on
-AdamWhy not thank me?