Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htacces
#1
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
Reply
#2
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]
Reply
#3
nobody who knows this?
Reply
#4
It's hard to understand what your trying to do
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)