Welcome Guest, Not a member yet? Register   Sign In
.htaccess problem
#4

[eluser]Pascal Kriete[/eluser]
I'm pretty sure it's this line:
Code:
RewriteRule ^([a-z]+)(/?)$ index.php/$1

That will match any character from a to z as many times as possible and then an optional / . The problem with users/edit/25 is that the slashes and numbers don't match.

Does this work?
Code:
RewriteRule ^([\w/]+)(/?)$ index.php/$1


Messages In This Thread
.htaccess problem - by El Forum - 06-16-2008, 03:53 AM
.htaccess problem - by El Forum - 06-16-2008, 04:07 AM
.htaccess problem - by El Forum - 06-16-2008, 04:21 AM
.htaccess problem - by El Forum - 06-16-2008, 04:30 AM
.htaccess problem - by El Forum - 06-16-2008, 04:49 AM
.htaccess problem - by El Forum - 06-16-2008, 04:54 AM
.htaccess problem - by El Forum - 06-16-2008, 06:00 AM
.htaccess problem - by El Forum - 06-16-2008, 11:16 AM
.htaccess problem - by El Forum - 06-16-2008, 01:46 PM
.htaccess problem - by El Forum - 06-16-2008, 02:11 PM
.htaccess problem - by El Forum - 06-17-2008, 12:40 AM
.htaccess problem - by El Forum - 06-23-2008, 06:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB