WordPress ODLinks Plugin Guide & Instructions

Posted by M. 4Gani under Root, Tools, WordPressi:

Open Directory Links (Website Directory Project) is a WordPress plugin.
ODLinks 1.4.3-a is now available.

last changes (May 2018)

last changes (15.03.2013 about: 15:00 GMT)
To display the latest xx ads in the sidebar,
you copy the following code and place it anywhere else in the sidebar.
<?php lastODLinksSidebar(8) ?>

last changes  (Today 07.03.2013 about: 15:00 GMT)
– implemented the page navigation functionality
– updated to uses the thumbshots.ru for the Website screenshots
The update fixes website’s search function. [not important!]
Save your local changes (you have any) and unzip the file and overwrite existing directories and files.


The plugin can help you to start a profitable website directory which is the same as the DMOZ.org directory.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]
1) Click here to download the odlinks plugin last release

Installing the plugin:

1. Unzip the downloaded file and upload the odlinks folder to your WordPress plugins folder (/wp-content/plugins/)
2. Log into your WordPress admin panel
3. So go ahead and activate the ODLINKS plugin, which should appear in the list of installed plug-ins.
4. “ODLinks” will now be displayed in your admin panel.
5. For first step instructions, go to Options “Settings”

You will need to make the Smarty cache and template_c folders writable (chmod 777):
Use your FTP client to change its permissions to 777.
* odlinks/includes/Smarty/cache
* odlinks/includes/Smarty/templates_c

Once you have changed the folder permissions, return to your browser, and refresh it.
Now you can submit your settings. After submission, installer process will create the tables automatically.

For your information, after submitting the settings a new page will be created with the title [[odlinks]](in upper letters) .
This title will be also added to the content of pages automatically.
Do NOT remove the page. The plugin work correctly with this page ID.
Please, you should keep the default title[[odlinks]] (in upper letters) of page to make it to work…

To uninstall and deactivate the plugin, please go to Options “uninstall” under ODLinks menu.

6. Creating/Editing a category and subcategory
– Before deploying, you should create and set-up the categories and subcategories for your Website.
– Go aheead and choose “Categories” from the ODLinks drop down menu and insert the category name and category description and then submit it.
– You can insert the subcategories by clicking on ‘Add Category’ and choosing any category name from the list in parent category. If you select root as parent category, then you create a main category.
– Create a subcategory is mandatory and required!

Depending on the “Permalink Settings” it’s possible for some pages that the categories urls are not accessible.
To fix this problem you should go to update the .htaccess file which is exised under wordpress top directory.

Normaly if you click on categories you will get something like this:

If insteaed of the “/odlinks/” somthing elses is placed for example “/97-revision-v1/”
you can upadte your the .htaccess file as follows:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^97-revision-v1/?([^/]*)?/?(.*)$ /index.php?pagename=odlinks=$1=$2 [QSA,L,R,NS]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

== Frequently Asked Questions ==

How can we display the latest xx ads in the sidebar?

You copy the following code and place it anywhere in the sidebar.php located in active theme folder.
<?php lastODLinksSidebar(8) ?>


This guide will show you the step by step process for first installation/configuring



Test ODLinks (Open Directory Links)   OR  odlinks.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.

Please install the CURL module for PHP.


185 Responses to “WordPress ODLinks Plugin Guide & Instructions”

Pages: « 1911 10 9 8 7 6 5 4 3 2 [1] Show All

  1. ali, 24. January 2009, 22:33

    dooste aziz salam
    moghe faal kardan in plugin in error ra mide:
    Parse error: syntax error, unexpected T_CASE in D:\wamp\www\wp\wp-content\plugins\odlinks\admin\odl_admin_functions.php on line 132″

    moshkel az chie?

  2. admin, 19. January 2009, 12:30

    Thanks for your thoughtful comment.
    I was busy with mp3-bazar.com and something else at the time.
    I collected the critical comments and reports since last two weeks.
    Currently I upgraded the WordPress to 2.7 (this site) and I will begin to start implementing of known issues as soon as possible.

  3. Amir, 23. November 2008, 14:23

    Why the main site gives me the 404 or Not Found error message or I cannot see the “Submitt a link”?This is a .htaccess 404 error message and you should update your .htaccess file in the WP root directory.
    To support Permalink structure you find an example in README file.

  4. admin, 19. November 2008, 10:12

    Hi all, you have right,
    Sticky or Banned button should you show the list of unwanted websites
    These will be rejected automatically.
    And looking for a new specific features for the plugin … let me know!
    This weekend, I will go to the fix them.

  5. Jung-Su, 15. November 2008, 22:21

    @pera, Thanks for your report.
    For approval please click on the Manage->OD-Links Admin->ODLINKS Links
    Approve Button.
    I will update and upload the next version of the plugin Monday Morning.

  6. انی کاظمی, 13. November 2008, 19:59

    دمت گرم آقای فرقانیان اما !!! این افزونه مشکل اساسی با فارسی داره
    واقعا تبریک میگم
    خوشحالم کردی با این افزونه و نوشته ها در مورد فیلسوفان ایران…

    fixed, here an example:

  7. admin, 12. November 2008, 16:51

    @کاظمی Joon, you are welcome ;)

  8. انی کاظمی, 12. November 2008, 14:33

    بهترین خبری بود که میشد از ورد پرس بشنوم
    واقعا دستتون درد نکنه

  9. Jung-Su, 22. October 2008, 10:47

    Hi markus, Thanks for report.
    Currently i have added linkdirectory and websitedirectory to the tags. (the wordpress search plugins function is terrible)
    and removed the complete rewrite_rules methods.
    This weekend I’ll be extend the link’s methods (move, stinky and banned) used by administration interface

  10. admin, 14. October 2008, 10:15

    @res: Please modify the stylesheet in:
    to sets the background color of the layout area or fonts

Pages: « 1911 10 9 8 7 6 5 4 3 2 [1] Show All

Post your comment