This is a small tutorial on how to use the .htaccess file with Pligg and what it can do for your Pligg site. In order to use URL Method 2 which allows for SEO friendly URLs, you have to follow the guide below.


  1. There is no support for .htaccess on windows servers e.g. IIS. This has to do with how Windows servers work and is not an issue with Pligg. This entry will be biased towards Apache since that's what most people use.
  2. Make sure that mod_rewrite is enabled in Apache. If you have access to your Apache httpd.conf file search for LoadModule rewrite_module modules/mod_rewrite.so and make sure there isn't a # in front of it. If there is, remove it and save the file. You will need to restart Apache for this to take effect. If you follow this tutorial and get an error that says "Internal Server Error" or something similar that usually means that mod_rewrite is not enabled.
  3. Next rename the htaccess.default file that comes in the root directory of Pligg to .htaccess (Note the period in front of it)
  4. Finally, edit the .htaccess file to suit your needs. Carefully review the comment lines for instructions on how to modify some of the lines.