Posts Tagged ‘wordpress plugin’

Solve Duplicate URL Using Canonical Link Tag

Tuesday, February 17th, 2009

Everyone is aware that duplicate url/content causes a negative effect on search engine, worry no more because Google, Yahoo, and Microsoft already made an action to solve the issues. The three search engine company announced the support for the new link tag to clean up duplicate urls on sites that produces duplicate content.

Here an example on how canonical link tag works. If you have a blog post URL: http://www.eligio.org/kakashi-is-dead-naruto-shippuuden-mad-spoiler.html and you have a lot of comment on that topic, this produces duplicate url/content. See URL with comment http://www.eligio.org/kakashi-is-dead-naruto-shippuuden-mad-spoiler.html/comment-page-2#comments . Both URL produces duplicate content, so in order to prevent this, We use the new implemented link tag, this will be added under the HEAD tag.

Example Canonical Link Tag

<link rel="canonical" href="http://www.eligio.org/kakashi-is-dead-naruto-shippuuden-mad-spoiler.html"/>

The canonical link tag tell the search engine that the preferred location is specified in the link tag. This is the same function as when using 301/permanent redirect.

If you are using wordpress/drupal, Joost de Valk has already made canonical plug-in for WordPress and Drupal module.

To learn more about canonical link element you can visit Matts Cutts Blog.

Wordpress Plugin: FV Code Highlighter

Tuesday, February 10th, 2009

I was thinking to do some gamesitescript templating tutorial, so I search for a code highlighting plugin better than default code tag and I found several plugins but I encounter some compatibility issues with wordpress 2.7. One plugin standout from the rest, and works great with wordpress 2.7. The plugin I'm referring to is FV Code Highlighter by Frank Verhoeven.

FV Code Highlighter works very similar to most the other syntax highlighting scripts, but I like how the plugin uses the default dreamweaver tag color and the background color.

As of the moment, the plugin is in early stage of development and only support the following programming language PHP, HTML, CSS and XML.

Example

PHP CODE:

<?php
// get host name from URL
preg_match('@^(?:http://)?([^/]+)@i',
"http://www.wickedhippo.com/games/16/girls.html", $matches);
$host = $matches[1];
// get last two segments of host name
preg_match('/[^.]+\.[^.]+$/', $host, $matches);
echo "domain name is: {$matches[0]}\n";
?>

CSS CODE:

@import url("style.css");
h2, .eligio {
display: block;
font-size: 13px;
color: #000;
padding: 18px 10px 17px 10px;
line-height: 18px;
border: 1px solid #e2e2e2;
text-align: left;
overflow: auto;
}
@media screen, print {
    pre { margin: 0px 10px 10px; }
    h1 { font-size: 14px; padding-top: 10px; }
}

Visit FV Code Higlighter

Wordpress Plugin: Organize and manage page order display via AJAX interface.

Sunday, February 1st, 2009

I was looking for a way to organize/customize the behavior of my top navigational menu and found one plugin that works on wordpress version 2.7. The name of the plugin is pageMash.

pageMash plugin can control/re-arrange the order of your pages with the simple ajax drag-and-drop administrative interface with an option to toggle the page to be hidden from output.

pageMash Admin

pageMash Admin