URL Methods
Pligg offers 2 "URL Methods", the first is the basic, less search engine friendly, method that uses URLs like:
Code:
/story.php?title=example-title
Code:
/category_name/example_title/
Enabling SEO URLs for Pligg
To enable URL Method 2 you will need to configure Pligg from the admin page. Navigate to /admin_config.php?page=SEO (as of Pligg 1.0) and set the URL Method value to 2.
Now you will need to make a couple manual edits to the "htacces.default" file that comes with Pligg and then rename that file to ".htaccess". First you will need to navigate to the Category Manager page, which is found within the admin panel for Pligg. Scroll down to the bottom of that page and look for 2 lines that need to be copied, both lines will begin with "RewriteRule". Copy those two lines and paste them (replacing the existing 2 lines) in the .htaccess file. You will see these two existing lines just below the comment line that mentions "category management".
Now you might also need to change some other htaccess settings if you have installed Pligg on a subdomain or in a folder that isn't on the root of the domain. I suggest that you quickly read through the htaccess file and make changes accordingly, most of the main settings are commented in such a way that it should be easy to figure out if you need to change them. You can also rename some of the URLs to make it fit your site. For example you could rename every "story" page to "article".
This article has been rewritten on January 7, 2009. The original article content can be seen in the first comment to this article.



Linear Mode




