Hello guys,
I have the following problem:
I have written the following .htaccess file:
RewriteEngine on
RewriteRule (.*.html)$ /index.php?id=$1
to redirect all the visitors of http://yourdomain.com/1.html to parse for http://yourdomain.com/index.php and it works.... It redirecting.
But here what I cannot configure out:
1. when it redirects it changes the link at the browser, so it became http:http://yourdomain.com/index.php?id=1.html, not http://yourdomain.com/1.html
- It shows the source of the index.php file and not executing it with the parameters. Without rewriting it this script works just fine, so it's not the problem with my PHP parser.
Please help. Every answer will be appriciated.
Thank you guys for your attantion.
Best regards,
Zemnon
http://zemnon.org.ua