Forum Moderators: phranque

Message Too Old, No Replies

Trailing Slash Problem

Using the .htaccess needs one minor fine tune up...

         

Eric_Lander

4:20 am on Jun 18, 2004 (gmt 0)

10+ Year Member



Existing Line from .htacess
RewriteRule ^state/(.*)$ /state.php?label=$1 [L]

Right now, this works fine as:
domain.com/state/california

However, I would like to see this also work for:
domain.com/state/california/

-- What needs to be added to see that this works in both cases?

jdMorgan

4:33 am on Jun 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



/?

Regular Expressions Tutorial [etext.lib.virginia.edu]

Jim

Eric_Lander

4:46 am on Jun 18, 2004 (gmt 0)

10+ Year Member



Wow... I just found something out. You need to upload files in order for changes to take place.

Thanks for the link too :)
(Sorry folks, long night)