
August 13th, 2012, 07:23 PM
|
|
|
|
Mod Rewrite Frustration
I am trying to do a very simple mod rewrite and I cannot seem to figure out the correct way to do it.
I want something like this.
on this page. www.domain.com/foo
I have links that look like so
www.domain.com/foo/bar
I want those links to go to
www.domain.com/foo/baz.php?name=bar
I think the problem is occurring because these links are urlencoded meaning they have % signs and things like that
Here is what I have.
RewriteRule ^/(.+)$ club.php?name=$1 [L]
|