Wordpress ODLinks Plugin
Open Directory ProjectLinks-Open Directory (Website Directory Project) is a Wordpress plugin This plugin is under active development. If you experience problems, please first make sure you have installed the latest version. Feature requests, bug reports and comments can be submitted [here] Installing the plugin:1. Unzip the downloaded package and upload the odlinks folder into your Wordpress plugins folder |
Once you submit the Settings page of ODLinks it will set off the process of installing its tables and setting up its default settings.
5. Go to create and modify your Categories and Sub Categories under “ODLINKS Structure”
You will need to make the Smarty cache folders writable (chmod 777) :
./odlinks/includes/Smarty/cache
./odlinks/includes/Smarty/templates_c
Create some child category. It is not possible to post to the parent category.
Demo:
Test it right now ;) OR wpcareers.com
Questions and Examples of Use
Frequently Asked Questions
Q. Why the main site gives me the 404 or Not Found error message or I cannot see the “Submitt a link”?
This usually occurs only when using a custom permalink structure (like /%category%/%postname%/).
This is a .htaccess 404 error message and you should update your .htaccess file in the WP root directory.
Normally you should not edit the htaccess, the Permalink link will be detect by plugin automatically.
The htaccess is a way to add the category name to the url or display the post title in the blog url.
An example for htaccess code to redirect to odlinks
You need an .htaccess file. The file will be create/modify by wordpress via the Permalink/mod-rewrite option.
Please edit the .htaccess file in the root folder of your Wordpress.
You use the default .htaccess file and modify the file as follow:
The redirect should look something like this
#RewriteRule . /index.php [L]
RewriteRule !^(classified|odlinks)/ /index.php [L]
RewriteRule odlinks/([^/\(\)]*)/?([^/\(\)]*)/?([^/\(\)]*)/? /index.php?pagename=odlinks&_action=$1&id=$2&parent=$3 [QSA,L,R,NS]
Todo:
- included language files
Chang log:
Changes Nov 12/2008 v. 0.5
- implement the bookmark & sent to his friend’s button
- edit/move categories
- implement the conformation code (captcha)
Changes Oct 13/10/2008
- admin email notification
- include the Google AdSense


HI
I get an error404 when I try to access the categories. The adress also include som/635-revision/ like,
/635-revision/?_action=main&id=7&parent=0
My htaccess file llok like this: ( slug name is, lenkekatalog)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
RewriteRule !^(classified|lenkekatalog)/ /index.php [L]
RewriteRule lenkekatalog/([^/\(\)]*)/?([^/\(\)]*)/?([^/\(\)]*)/? /index.php?pagename=lenkekatalog&_action=$1&id=$2&parent=$3 [QSA,L,R,NS]
</IfModule>
January 29, 2010:
I had to make a second folder called “Paralegal Associations 2″ and transfer 8 links there. Just doesn’t make sense. I guess I can use it this way but would really rather have all the links in one folder. I didn’t see any error messages or else I would have sent them.
January 2010, 22:00
I am loving the plugin and it has worked well. I have one problem and I’m hoping you can help. If you follow this link: http://pgnew.com/odlinks/?_action=main&id=56&parent=0 you will see that most of the links work well. However, under “Texas” and then “Paralegal Associations” the page will not load and on some browsers it actually distorts my template. California has had a problem too. Both of these States have 17 + links associated with them. It seems the more links per folder, it slows down or won’t load, etc. I do need a response if possible since I am attempting to redesign my site. Would love to continue using your plugin if possible and have already put quite a bit of time in loading all these links.
Much thanks in advance for your assistance.
—> California showing fine in Firefox form my site. For Texas maybe the error available in the apache error log can help me.
or you create a new subcategory in category Texas and move some links form the “Paralegal Associations” in to the new subcategory and test it again.
I need to import more than 100 new companies to the directory. Is it possible?
–>
Yes, the import is simple.
if imported from a mysql database, the importing can be done via some sql query.
Importing the data from a text file is tricky and can be done by a simple perl script.