nl18663 0 Newbie Poster

Hello, i have some issues with url rewriting:

i use $_get[id] to determine what page i'm on and to retreve them from the database. at the moment i use url rewriting and i go to the website (where i have a redirect in the root index.php to /public/index.php?page_id=1) it shows this in the URL.
if i type index.html it shows me the page but it seems that the url rewrite is not passing the ?page_id= value to the page??

how can i solve this issue??

RewriteRule ^/index\.html$ /public/index.php?page_id=1 [I,L]
RewriteRule ^/binnenwerk\.html$ /public/index.php?page_id=$2[I,L]
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.