Hi,

I am a new in PHP. Can any one tell me that how to use url rewrite.

    Firstly, .htaccess files only work on Apache, so if you're using IIS, you need to look for an equivalent for that web server.

    If you are using Apache, have you made sure that a) the mod_rewrite module is installed, and b) it's actually included in the httpd.conf file.

    If you find you do have to edit a config file or install the module, you will need to restart your web server (not the whole server, just Apache)

    Lastly, if you're unsure whether or not the module is installed, create a php script with just phpinfo(); in, which should show you the entire setup of your server, including all installed modules.

      Write a Reply...