GetSimple Support Forum

Full Version: htacces
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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]
nobody who knows this?
It's hard to understand what your trying to do