mod_rewrite rewriting url problem
Posted: Wed May 12, 2004 7:02 am
Hi,
i working to rewrite my urls.
I changed the .htaccess file and put this in:
RewriteEngine On
RewriteRule artikels/([0-9]+).htm artikel.php?id=$1
So, if the url is artikel.php?id=17 then normally it would be artikels/17.htm
Fot that no problem, bu it changes my page!
Have a look at the page of the non rewritten url here.
and the page of the rewritten url here
Somebody knows what i did wron or what i hev to do to make my page look normal like i wroted it?
greets,
tom
i working to rewrite my urls.
I changed the .htaccess file and put this in:
RewriteEngine On
RewriteRule artikels/([0-9]+).htm artikel.php?id=$1
So, if the url is artikel.php?id=17 then normally it would be artikels/17.htm
Fot that no problem, bu it changes my page!
Have a look at the page of the non rewritten url here.
and the page of the rewritten url here
Somebody knows what i did wron or what i hev to do to make my page look normal like i wroted it?
greets,
tom