I have copied the .htaccess file of my site to my local host. The things which worked with the host is not working in local server. can you tell me what is the problem. My apache is enabled with mod_rewrite, i have checked that with php.info() please help me to solve this.
What OS are you using? If you are on Windows, there are some specifics (I can't post URLs yet but you can search G)
Yes i am using windows.After some googling i found the correct code. It rewrites every .php into .html. That fails if add a query string. i have : http://localhost/article.php?id=title i need : http://localhost/article-title.html I tried lot of quotes none of them worked. So i need the correct code.