Hi Guys,
I have a website called: http://www.titrha.com
basically I am having some problems making things work with mod_rewrite; here are some of the things I need:
======= 1 ========
http://www.titrha.com/index.php?page=info&slug=about
to become
http://www.titrha.com/info/about/
I have written this code:
RewriteRule ^([^/\.]+)/([^/\.]+)/?$ /index.php?page=$1&slug=$2 [QSA,L]
but it wont show properly.
======= 2 ========
http://www.titrha.com/index.php?page=po ... =something
to become
http://www.titrha.com/something/
======= 3 ========
http://www.titrha.com/index.php?page=my ... me=someone
to become
http://www.titrha.com/user/someone/
======= 4 ========
http://www.titrha.com/index.php?page=ho ... g=question
to become
http://www.titrha.com/alpha/question/
basically in all cases its the slug that is random, the rest are the same. Thanks a lot!