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: « 1913 12 11 10 9 [8] 7 6 5 4 31 » Show All

  1. Aniket, 16. May 2011, 15:43

    Hello, can I get .sql for list of categories. Manually adding them is a painful task.
    Also how can I get seo friendly urls with this plugin.

  2. A.Piede, 16. May 2011, 8:28

    Changed… and cannot login any more, as well as changing back there is no chance to login..

    Warning: Cannot modify header information – headers already sent by (output started at /pages/60/6e/d0006282/home/htdocs/wp-content
    /plugins/odlinks/odl_main.php:1) in /pages/60/6e/d0006282/home/htdocs/wp-login.php on line 354

    These are only warning and to disappear them
    locate the file wp-config.php in the base directory of your WordPress and
    add these lines to it
    define(‘WP_DEBUG’, false);
    if (defined(‘WP_DEBUG’) and WP_DEBUG == true) {
    error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
    } else {
    ini_set(‘display_errors’, 0);

  3. cina, 14. May 2011, 19:34

    Hi Piede,
    Sorry I forget to fix it.
    Please go to the line and simply remove the variable $id from bracket
    -function odlFbLike($id) {
    +function odlFbLike() {

    Thanks for report

  4. A. Piede, 13. May 2011, 23:26

    Unter Yellow Pages you will find your Directory with the following error…
    Warning: Missing argument 1 for odlfblike() in /pages/60/6e/d0006282/home/htdocs/wp-content/plugins/odlinks/odl_main.php on line 407

    any idears? I would verymuch like to use your script.
    Best regards Andre

  5. Levent, 9. May 2011, 22:50

    Please add Turkish language support. Plug-in, but I have converted to Turkish characters and gives errors. In Turkish, ç, ö, ğ, ü, ş letters gives error .. Waiting for you to find a solution to this.
    here a test: create the post via firefox

  6. pencil, 4. May 2011, 23:09

    Are there any of you know how to change the odlinks permalink to better search engine friendly ?

  7. izougha, 3. May 2011, 22:25

    Hi thank you so much for the great plugin

    I was installed it it work well but i want to change the values of the width.
    Please how can i do it?

  8. cina, 3. May 2011, 17:50

    To fix thumbshots fotos:
    edit the file: theme/default/body.tpl and replace the line number: 48 with
    <a href=”{$item.url}” target=_blank><img border=1 src=”http://open.thumbshots.org/image.pxf?url={$item.url}”></a>&nbsp;</td>

  9. Nikulai, 2. May 2011, 0:13

    Irs working now… not sure why… changed the odlinks Slug to /links/ and saved then saved the permalinks (without changing them) and saved the odlinks setting (again without changing them) and violla! all is well.

    Thanks for all the help!

  10. admin, 1. May 2011, 19:23

    Nikulai: Normally you should not edit the htaccess, the Permalink link will be detect by plugin automatically.
    I cannot figure out why the url of your site “contain the escape character” and shows the link ‘/?s=?%20action=main’ instead of the ‘/links/?_action=main’ .

Pages: « 1913 12 11 10 9 [8] 7 6 5 4 31 » Show All

Post your comment