mod rewrite - SEO-Friendly URLs (Apache) -


i've looked around quite while now, , cannot seem find working solution. wish redirect

http://dynamic-domain/test/$2y$06$bzlnrgts.meebbmj98w7aeabu0xc1brxg5i47awtocnsu1ijxqaxo 

to

http://dynamic-domain/test.php?aid=$2y$06$bzlnrgts.meebbmj98w7aeabu0xc1brxg5i47awtocnsu1ijxqaxo 

the tid parameter random, , not exact string. that's example.

i cannot work. don't have experience this.

cheers.

i think should trick

rewriteengine on rewriterule ^test/(.*) test.php?aid=$1 

you match test folder , capture after that. use $1 variable refer first captured group.


Comments