Directories that rank high in the SERPS for a certain keyword provide not only targetted traffic but also a quality relevent backlink. This is the kind of links Google recommands in its guidelines. So If you want to submit your real estate related website, instead of choosing the directory with highest PR, you should choose the directory that ranks best for that specific keyword.

I used the Google custom search to restrict the search on directories. So far 1277 directories are listed.
Strongest Directories for the Shopping Niche
Strongest Directories for the Real Estate Niche
Strongest Directories for the Jewelry Niche
Strongest Directories for the Celebrities Niche

You can do this search for any keyword you are targetting using the
Directories Link Quality Search: http://tools.enquira.com/link-quality.php

Your feedback is appreciated.

This is a one step install of the deep links mod. It is assumed that the defaut template is used. If you use another template you can still use this easy install and then modify just 3 template files (submit.tpl, header.tpl and detail.tpl)

This MOD will add 2 payment options Featured+ with 5 deep links and Regular+ with 3 deep links. The Featured and Regular will have no deep links. demo

To install the deep links mod, all you have to do is unzip the content of zip file below in the folder where your directory is installed (usually public_html). Overwrite all existing files and then run the installer by pointing to yourdirectory/install/index.php
You are done!

Download Deep Links MOD

Downloaded a total of 4125 times

If you use a template that is not the default one, you still have some work to do. You will have to edit 3 files.
More details can be found here.

Important: This is for version 3.2

After installing the 1 step deep links mod, you need to modify the following template files:
/templates/yourtemplate/submit.tpl
/templates/yourtemplate/detail.tpl
/templates/yourtemplate/header.tpl

Template coders can apply these changes to their templates and offer deep links ready templates.

1. edit header.tpl
Right before </head>, add

{* Deep Links by rakCha http://blog.rakcha.com *}
<script type="text/javascript" 
src="{$smarty.const.DOC_ROOT}/javascripts/deeplinks.js"></script>

2. edit.submit.tpl
FIND

{if $price.featured}

ABOVE that, ADD

{if $price.featured_adv}
<tr><td><input type="radio" name="LINK_TYPE" value="featured_adv"
{if $LINK_TYPE eq 'featured_adv'}checked="true"{/if} 
 onclick="featured();"; >
Featured links +
</td>
<td>{$smarty.const.HTML_CURRENCY_CODE}{$price.featured_adv}
</td>
</tr>
{/if}

FIND

{if $price.normal gt 0}

ABOVE that, ADD

{if $price.normal_adv gt 0}
<tr>
<td><input type="radio" name="LINK_TYPE" value="normal_adv"
{if $LINK_TYPE eq 'normal_adv'}checked="true"{/if} onclick="regular();"; >
{l}Regular links +{/l}
</td>
<td>{$smarty.const.HTML_CURRENCY_CODE}{$price.normal_adv}
</td>
</tr>
{/if}

FIND:

<input type="radio" name="LINK_TYPE" value="featured"
 {if $LINK_TYPE eq 'featured'}checked="true"{/if}>

REPLACE BY:

<input type="radio" name="LINK_TYPE" value="featured"
 {if $LINK_TYPE eq 'featured'}checked="true"{/if}
  onclick="no_deeplinks();"; >

FIND:

<input type="radio" name="LINK_TYPE" value="normal"
 {if $LINK_TYPE eq 'normal'}checked="true"{/if}>

REPLACE BY:

<input type="radio" name="LINK_TYPE" value="normal"
 {if $LINK_TYPE eq 'normal'}checked="true"{/if}
 onclick="no_deeplinks();"; >

There are 2 Instances of this, for free and paid regular links.

FIND:

<input type="radio" name="LINK_TYPE" value="reciprocal"
 {if $LINK_TYPE eq 'reciprocal'}checked="true"{/if}>

REPLACE BY:

<input type="radio" name="LINK_TYPE" value="reciprocal"
 {if $LINK_TYPE eq 'reciprocal'}checked="true"{/if}
 onclick="no_deeplinks();"; >

FIND:

<tr>
   <td class="label">{l}Description{/l}:</td>

ABOVE it, ADD:

<tr id="field1_title" style="display:none">
<td class="label">TITLE 1</td>
<td class="field"><input type="text"  id="TITLE1"  
name="TITLE1" value="{$TITLE1|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr>
<tr id="field1_url" style="display:none">
<td class="label">URL 1</td>
<td class="field"><input type="text"  id="URL1" 
name="URL1" value="{$URL1|escape|trim}"
size="40" maxlength="255" class="text"/>
</td>
</tr> 
<tr id="field2_title" style="display:none">
<td class="label">TITLE 2</td>
<td class="field"><input type="text" id="TITLE2" 
name="TITLE2" value="{$TITLE2|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr>
<tr id="field2_url" style="display:none">
<td class="label">URL 2</td>
<td class="field"><input type="text"  id="URL2"  
name="URL2" value="{$URL2|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr> 
<tr id="field3_title" style="display:none">
<td class="label">TITLE 3</td>
<td class="field"><input type="text"  id="TITLE3"  
name="TITLE3" value="{$TITLE3|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr>
<tr id="field3_url" style="display:none">
<td class="label">URL 3</td>
<td class="field"><input type="text"  id="URL3"  
name="URL3" value="{$URL3|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr> 
<tr id="field4_title" style="display:none">
<td class="label">TITLE 4</td>
<td class="field"><input type="text"  id="TITLE4"  
name="TITLE4" value="{$TITLE4|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr>
<tr id="field4_url" style="display:none">
<td class="label">URL 4</td>
<td class="field"><input type="text"  id="URL4"  
name="URL4" value="{$URL4|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr> 
<tr id="field5_title" style="display:none">
<td class="label">TITLE 5</td>
<td class="field"><input type="text"  id="TITLE5"  
name="TITLE5" value="{$TITLE5|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr>
<tr id="field5_url" style="display:none">
<td class="label">URL 5</td>
<td class="field"><input type="text"  id="URL5"  
name="URL5" value="{$URL5|escape|trim}"
size="40" maxlength="255" class="text"/></td>
</tr>

3. in detail.tpl
FIND:

<tr>
<td class="label">{l}Description{/l}:</td>
<td class="smallDesc" align="left">
{$DESCRIPTION|escape|trim}</td>
</tr>

BELOW, ADD:

{if $TITLE1}   
<tr>
<td class="label">{l}Quick Links:{/l}</td>
<td class="smallDesc" align="left">
<a href="{$URL1|escape|trim}">
{$TITLE1|escape|trim}</a>&nbsp;
<a href="{$URL2|escape|trim}">
{$TITLE2|escape|trim}</a>&nbsp;
<a href="{$URL3|escape|trim}">
{$TITLE3|escape|trim}</a>&nbsp;
<a href="{$URL4|escape|trim}">
{$TITLE4|escape|trim}</a>&nbsp;
<a href="{$URL5|escape|trim}">
{$TITLE5|escape|trim}</a>&nbsp;
</td>
</tr>   
{/if}

September 13th, 2007Cron job for database backup

This cron job allows you make automatic backups of your database and delete the backup files older than 7 days. You can set the backups to occur daily and use the following command for the cron:

cd BACKUPS_PATH; /usr/bin/mysqldump --opt -u DBUSER -pPASSWD DBNAME | gzip > DBNAME_`date "+%Y%m%d"`.sql.gz ; /usr/bin/find *.gz -mtime +7 | xargs /bin/rm -f

You should replace DBUSER, PASSWD, DBNAME with their respective values. Also BACKUPS_PATH should be replaced by the folder where you want to store your backup files (/home/yourdomain/public_html/backups or /var/www/vhosts/backups, …)

There is no space between -p and PASSWD.


© 2007 rakCha resources | Powered by Wordpress | rakCha web directory