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: « 19 [18] 17 16 15 14 13 12 11 10 91 » Show All

  1. aqua website design, 22. May 2014, 11:39

    Some web designers work by communicating only by
    email. Give priority to a company that makes your imagination come
    true. Therefore, iit is eminent forr all online entities to develop their website
    in the most user friendly manner.

  2. نوید, 19. April 2014, 8:21

    سلام نويد, ممنون ميتوني مشكل كدام لين بود

    سلام و روز بخیر

    ضمن تشکر بابات پلاگگین خوبتون
    باید عرض کنم که پس از فعال سازی در قسمت ارسال مطلب چینش دسته بندی ها بههم میریزه و ترتیب دسته بندی ها _دسته اصلی و فرعی ) مشخص نیست.سی اس اس پلاگین تداخل داره با هسته اصلی وردپرس
    لطفآ این مورد را نیز بر طرف کنید.
    با تشکر
    شاد باشید

  3. Altaf Hussain, 16. April 2014, 14:57

    Please disable PHP notice or disable php warning.

    simpley add error_reporting(0); after the call wp-settings.php in config.php
    require_once(ABSPATH . 'wp-settings.php');

    Ohhh Shit this is not working with 3.8.3 and i delete all the things :( please let us know the all things before any update please forgani ….

  4. AVIA.LINK, 16. April 2014, 1:10

    many messages like this: Notice: Undefined index: odlinksdata in /home/…..
    not work with Add category
    NOT WORK! WordPress 3.8.3

  5. Altaf Hussain, 14. April 2014, 2:39

    Hi Hussain, I fixed the code. Thanks for the support.

    Below is the error when i fresh install the plugin and no category shown after some try i get this fix
    Replace this code on line 43
      if ($counter > $page_navigation->nr_rows) {
        list ($current_page, $navi) = $page_navigation->get_navigation($page);
        $c = ceil($counter / $page_navigation->nr_rows);
        $p = ‘<span class=”title”>Page ‘. $current_page. ‘ of ‘. $c . ‘</span>’ . $navi;
    with this
      if ($counter > $page_navigation->nr_rows) {
        list ($current_page, $navi) = $page_navigation->get_navigation($page);
        $c = ceil($counter / $page_navigation->nr_rows);
        $p = ‘<span class=”title”>Page ‘. $current_page. ‘ of ‘. $c . ‘</span>’ . $navi;
    i just installed the plugin and it is giving the error
    Warning: Creating default object from empty value in D:\xampp\htdocs\directory\wp-content\plugins\odlinks\odl_main.php on line 43
    A fresh install giving this error


  6. Gizmorattler, 25. March 2014, 22:05

    Thank you so very much! Your fix Worked perfectly!!!

  7. Gizmorattler, 27. February 2014, 17:23

    When I click on the Open Directory Links button on my web site it goes to a redirect and has code visible in the widow description tab o my browser. How can I remove this code?

    Oh not good, I will fix it now!!

    You use any plugin?? to overwrite title of the pages and it dosen’t work correcty. you can fix the bug as follow
    please fix the return value in the file inclue/odl_function.php line 188
    @@ -188,7 +188,7 @@
    switch ($g__action){
    case “index”:
    – return ‘‘.$odlinkssettings[‘page_link_title’].’‘;
    + return $odlinkssettings[‘page_link_title’];
    changes commited to svn

  8. yuku.com, 18. February 2014, 20:07

    Hi! Do you know if they make any plugins
    to safeguard against hackers? I’m kinda paranoid about losing everything
    I’ve worked hard on. Any recommendations?

  9. Paris, 12. January 2014, 1:04

    Hello i tried you wordpress directory plugin but when am entering the category names in Greek Language then output is not showing well ..:(
    You dont support UTF-8  ..?
    Can you please support other languages too like Greek ?

  10. cans, 18. December 2013, 10:02

    Warning: stream_set_timeout() has been disabled for security reasons in /home/——/httpdocs/wp-content/plugins/odlinks/includes/_thumbshots.class.php on line 945

    I want an urgent solution

Pages: « 19 [18] 17 16 15 14 13 12 11 10 91 » Show All

Post your comment