GetSimple Support Forum
htacces - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: htacces (/showthread.php?tid=4854)



htacces - J.S. Coolen - 2013-06-15

Hi

I want to add a home made script, but i neet to rewrite the htaccess,

I tried this, but then the whole htacces doesn't function anymore:

RewriteRule /?([A-Za-z0-9_-]+)/?([A-Za-z0-9_-]+)/?$ index.php?id=$1&bedrijveninput=$2&%{QUERY_STRING} [QSA,L]

What am I doing wrong?

I also tried stuff like this:

RewriteRule /bedrijven/([A-Za-z0-9_-]+)/?$ index.php?id=bedrijven&bedrijveninput=$1 [L]


What i want is:

/bedrijven/jcsl

index.php?id=bedrijven&bedrijveninput=jcsl


RE: htacces - J.S. Coolen - 2013-06-15

I did get it a bit working, only the admin is not fully working:

Code:
RewriteRule ^/?(bedrijven)/?([A-Za-z0-9_-]+)/?$ index.php?id=bedrijven&bedrijveninput=$1&%{QUERY_STRING} [QSA,L]

RewriteRule ^/admin/?([A-Za-z0-9_-]+)/?$ admin/index.php?id=$1 [QSA,L]

RewriteRule ^/?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]



RE: htacces - J.S. Coolen - 2013-06-17

nobody who knows this?


RE: htacces - shawn_a - 2013-06-17

It's hard to understand what your trying to do