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.


Open as PDFPrint Article

185 Responses to “WordPress ODLinks Plugin Guide & Instructions”

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

  1. yousef, 16. October 2010, 17:31

    محمدجان باور کن من اينو ميشناسم خودش روانيه و همه راگذاشته سر کار

  2. محمد, 8. October 2010, 11:05


    استاد من یه مشکل کوچولو تو کاربری این افزونه دارم که داره روانیم می کنه , من یه نامک برای برگه افزونه گذاشتم به نام


    یه بار که می خوام وارد این برگه بشم نامکش همینه , یه بار دیگه هم


    یه بار دیگه هم بصورت پیشفرض برنامه وردپرس که شماره برگه رو می نویسه


    اگه ممکنه راهنماییم کن


  3. محمد, 5. October 2010, 10:32


    ممنون بابت نگارش این افزونه ارزشمند.

    چطور می شه برای دسته بندی ها از عنوان فارسی استفاده کرد؟ درحال حاضر با وارد کردن واژه ای فارسی به جای اون علامت سوال درج می شه.

    ممنون می شم راهنمایی کنید. متشکرم

    Hi Mohammad ;)
    See the photos:

    Using PhpMyAdmin and change the fields charter encoding to utf8

    and here an example: لینکستان

  4. Jeannie, 29. September 2010, 17:00


    You totally rock!! That did the trick and THANK YOU!!

    Any way to get rid of the Google Ads???

  5. cina, 28. September 2010, 15:22

    Hi Jeannie,
    create a empty file name odlinks.xml with permission 666(read and write by others), in /home/pgnew/public_html/wp-content/plugins/odlinks/includes/</strong>includes/Smarty/cache/odlinks.xml
    and check again

  6. jeannie, 28. September 2010, 15:21

    PLEASE HELP: I’ve posted before without response.  I’m getting the following error message under the header:

    Warning:  fwrite(): supplied argument is not a valid stream resource in <strong>/home/pgnew/public_html/wp-content/plugins/odlinks/includes/odl_rss.php</strong> on line <strong>71</strong>
    Warning:  fwrite(): supplied argument is not a valid stream resource in <strong>/home/pgnew/public_html/wp-content/plugins/odlinks/includes/odl_rss.php</strong> on line <strong>98

    Here’s a link to the page: http://paralegalgateway.com/pg-community/odlinks/?_action=main&amp;id=77&amp;parent=13

    Is there a fix for this?  Much thanks in advance.</strong>

  7. admin, 9. July 2010, 8:54

    Hi, a bit strangely for me.
    follow the link sent by email and you click on the “Approve Button” on the top of the page. A new page will be shown and you see the message “Newly submitted links ready to be approved: ” correct ?

  8. Nicholas, 4. July 2010, 12:15

    Hi Unfortunately nothing ,
    I am receiving the approval link email when a user submits  but no links are there to be approved

    —> Admin Panel -> ODLINKS -> ODLINKS Links -> Approve Button
    you see the “post is awaiting approval”

  9. Nicholas hall, 30. June 2010, 8:50

    Hi there!

    Great script. Unfortunately im having a problem with adding links.
    Every time i have a link submitted it don’t get entered into the database our come up for approval.  The only way i have been able to add links is if i ad them directly to the database.

    You help with this solution would be greatly appreciated.

  10. Mikk, 28. June 2010, 9:58

    Hi Mohammed,

    Thanks for the great plugin!

    Suddenly I discovered that ODLinks plugin is in inactive mode. When I try to activate it, then I got following message:
    Plugin could not be activated because it triggered a fatal error.
    Warning: require_once(/home/content/63/5158863/html/wp-content/plugins/odlinks/includes//odl_functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/63/5158863/html/wp-content/plugins/odlinks/odl_control.php on line 96

    Any ideas how to fix this problem?

    Best regards,

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

Post your comment