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: « 1914 13 12 11 10 [9] 8 7 6 5 41 » Show All

  1. bahram, 13. July 2011, 16:08

    Hi James. please download the plugin and install again,
    Maybe it’s fixed already or was already fixed. The line 407 does not exist.

  2. James, 8. July 2011, 12:04

    I’m getting this error:
    Warning: Missing argument 1 for odlFbLike(), called in /home4/redspar1/public_html/gdse/wp-content/plugins/odlinks/odl_main.php on line 190 and defined in/home4/redspar1/public_html/gdse/wp-content/plugins/odlinks/odl_main.php on line407 
    Does anyone know how to fix it?  Thanks.

  3. idcew, 10. June 2011, 10:39

    could i add my website http://www.idcew.com to Open Directory Project here?? 

  4. Ken, 6. June 2011, 18:27

    Great job!

    Just two questions (sorry if these have been asked) –

    (1) Is there a way to add links at the back end?  I need to add links by myself … I am starting a links directory and would like to open the site to the public with links already in the database.  It doesn’t look good if the site has no links in it yet. 

    (2) Is there a way to add the same link to different categories?  Right now, if I add a link to another category, it gives me an error msg saying that the link is already in the database.  Sometimes, a resource can be put under several categories.  I hope you are able to address that in your next upgrade. 

    Thank you so much.  You are doing good for humanity.

  5. Bloody, 29. May 2011, 11:36

    It is possible to show the x latest websites on the home page or in the sidebar ?
    What is the php code for that ?

    Thank for answer

  6. Ciprian, 28. May 2011, 21:27

    Count of subcategories under each category: <— This is not working for me. I changed the value from 10 to 4, but all subcategories show up under category. So the default value isn’t working either.

    Anybody facing same issue?


  7. Aniket, 21. May 2011, 8:47

    Sorry Last line is:
    Is it possible to change them in format like http://directory.x10.bz/art-and-humanities/

    My .htaccess:

    Options -Indexes
    ErrorDocument 404 /docs/404.php
    ErrorDocument 403 /docs/404.php
    # BEGIN WordPress

    RewriteEngine on
    # Unless you have set a different RewriteBase preceding this point,
    # you may delete or comment-out the following RewriteBase directive:
    RewriteBase /
    # if this request is for “/” or has already been rewritten to WP
    RewriteCond $1 ^(index\.php)?$ [OR]
    # or if request is for image, css, or js file
    RewriteCond $1 \.(gif|jpg|jpeg|png|css|js|ico)$ [NC,OR]
    # or if URL resolves to existing file
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    # or if URL resolves to existing directory
    RewriteCond %{REQUEST_FILENAME} -d
    # then skip the rewrite to WP
    RewriteRule ^(.*)$ – [S=1]
    # else rewrite the request to WP
    RewriteRule . /index.php [L]

    # END WordPress

  8. Aniket, 21. May 2011, 8:43

    Hi. I am using your plugin and facing some problems. I am using permalink structure /%postname%/

    Directory works fine on this page http://directory.x10.bz/odlinks/

    1. But problem comes when I want it to appear on home page http://directory.x10.bz
    I Goto WP Dashboard -> Settings -> Reading & select: A (select below) -> [[ODLINKS]]
    Then I can see directory on homepage http://directory.x10.bz, but when I navigate to any category, I get ‘Not Found’ error

    2. Categories appear in format http://directory.x10.bz/o/?_action=main&id=1&parent=0
    Is it possible to change them in format like http://directory.x10.bz/a

  9. Jose, 18. May 2011, 11:04

    sorry, at that time was doing some testing with another subject and
    odlinks had not active, please come back now you can see it without problem, odlinksis active.
    excuse me, thanks

  10. Jose, 17. May 2011, 20:48

    Hi, i install odlinks but i’ve one big problem! you can see mi odlink link here:

    it’s double  !!

    I have reviewed includes / odl_rss.php

    / *
    if (empty ($ wp)) {
    require_once (‘wp-config.php’);
    wp (‘feed = rss2’);
    * /
    but let me blank page
    i’ve installed Thesis 1.8 theme, please can you help me?

    I went on your page and saw no categories.
    do you already have created categories and subcategories.
    If not so, please create some under admin Interface.

Pages: « 1914 13 12 11 10 [9] 8 7 6 5 41 » Show All

Post your comment