Slashes

Discuss practical ways rearrange URLs using mod_rewrite.

Slashes

Postby random » Fri Aug 15, 2008 8:50 am

I have this right now:
Code: Select all
RewriteRule ^([a-zA-Z0-9\-_'!;\[\]()=]+)(\.html)?$ ?s=$1 [QSA,L]


Can I add slashes there somehow? So I could catch domain.com/1/2/3/4/etc
random
 
Posts: 1
Joined: Fri Aug 15, 2008 8:31 am

Postby richardk » Sat Aug 16, 2008 3:20 pm

Try
Code: Select all
^([/a-zA-Z0-9\-_'!;\[\]()=]+)(\.html)?$
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 3 guests

cron