Backlink exchange with website PR3 or more. send me an email to marius.duse@ordis.ro

Archive for the ‘ Plugins ’ Category

This plugin allows you to transfer your inputs SEO data from one theme/plugin to another. We all know how difficult it can be to switch themes or dump plugins. The fact that themes and plugins store their inputs SEO data differently makes it even harder. This plugin remedies that.

Usage

Just choose what platform your moving away from, and what platform you want to move to. Click “analyze” to see what records and elements are compatible, and click “convert” to make the conversion.

Download

The SEO Data Transporters plugin is hosted at the WordPress Plugins directory. You can download it there.

Installation

1) Upload the entire seo-data-transporter folder to the /wp-content/plugins/ directory
2) DO NOT change the name of the seo-data-transporter folder
3) Activate the plugin through the ‘Plugins’ menu in WordPress
4) Navigate to the Tools > SEO Data Transport menu

Supported Themes

1) Builder
2) Frugal
3) Genesis
4) Headway
5) Hybrid
6) Thesis
7) Woo Framework

Supported Plugins

1) All in One SEO Pack
2) Headspace2
3) Platinum SEO

Screenshot

SEO Data Transporter Plugin for WordPress

Share/Save/Bookmark

We recently devised a system to redirect old URLs in PHP so that you could avoid “page not found” errors (I suggest you read it before venturing further). In this article, we’ll create a similar system for WordPress, the popular PHP CMS.

How is WordPress different?

WordPress routes all requests through a single index.php file. Under normal circumstances, all URLs that don’t map to a physical file or folder on your server will be handled by WordPress. This includes all invalid addresses, so there’s no need to configure a 404 error document in Apache or IIS.

There’s probably no need to worry about redirecting old URLs if you’ve been using WordPress since day one. The system is reasonably good at finding the right page, even if you change your permalink structure (Settings > Permalinks). However, if you’re migrating content from a static site or another CMS, you’ll almost certainly have URL mismatches.

Updating the theme

We’re going to handle redirects within your WordPress theme. You could create a plugin, but:

  • the redirects are site-specific and a generic plugin would add more complexity
  • the code is unlikely to require further updates and it’s preferable to avoid having users configure or disable it, and
  • embedding it within the theme makes it more portable–you just copy theme files to the server

First, locate your theme files in wp-content/themes/my-theme-name. Many themes provide a 404.php file to handle “page not found” errors, but you can create one if necessary; for example:

  1. <?php get_header(); ?>
  2. <h1>Page not found</h1>
  3. <p>Sorry, we cannot find that page.</p>
  4. <p>Please browse the sitemap&hellip;</p>
  5. <ul id=“sitemap”>
  6. <?php wp_list_pages(‘title_li=’); ?>
  7. </ul>
  8. <?php get_footer(); ?>

<?php get_header(); ?>
<h1>Page not found</h1>
<p>Sorry, we cannot find that page.</p>
<p>Please browse the sitemap&hellip;</p>
<ul id="sitemap">
<?php wp_list_pages('title_li='); ?>
</ul>
<?php get_footer(); ?>

You should now include redirect.php at the top of the 404.php file, for example:

  1. <?php include(‘redirect.php’); ?>
  2. <?php get_header(); // etc…

<?php include('redirect.php'); ?>
<?php get_header(); // etc...

(Note that earlier versions of WordPress may require: include(TEMPLATEPATH.'/redirect.php'); –that’ll work in the latest versions too.)

Now create the redirect.php file in your theme folder and add the following code:

  1. <?php
  2. // current address
  3. $oldurl = strtolower($_SERVER['REQUEST_URI']);
  4. // new redirect address
  5. $newurl = ;
  6. // old to new URL map (for you to configure)
  7. $redir = array(
  8. ‘index.html’ => ‘/’,
  9. ‘article1.html’ => ‘/blogs/my-first-article’,
  10. ‘article2.html’ => ‘/blogs/my-second-article’
  11. );
  12. while ((list($old, $new) = each($redir)) && !$newurl) {
  13. if (strpos($oldurl, $old) !== false) $newurl = $new;
  14. }
  15. // redirect
  16. if ($newurl != ) {
  17. header(‘HTTP/1.1 301 Moved Permanently’);
  18. header(“Location: $newurl”);
  19. exit();
  20. }
  21. ?>

<?php
// current address
$oldurl = strtolower($_SERVER['REQUEST_URI']);
// new redirect address
$newurl = '';
// old to new URL map (for you to configure)
$redir = array(
	'index.html' => '/',
	'article1.html' => '/blogs/my-first-article',
	'article2.html' => '/blogs/my-second-article'
);
while ((list($old, $new) = each($redir)) && !$newurl) {
	if (strpos($oldurl, $old) !== false) $newurl = $new;
}
// redirect
if ($newurl != '') {
	header('HTTP/1.1 301 Moved Permanently');
	header("Location: $newurl");
	exit();
}
?>

The $redir URL mapping array can be configured as necessary. Alternatively, you could use a series of regular expression replacements or a database table lookup to find a valid $newurl.

I hope that helps with your WordPress URL woes. If you have other tips for managing redirects, please leave your comments below.

Share/Save/Bookmark

New plugins

FourSquare Integration for WordPress allows you to view your last checkins either as a list or on Google Maps on Pages and Posts.

DynamicWP Featured Post is a free WordPress jQuery plugin that will list your featured post based on the post tag and displayed as a widget. The post will cycled automatically.

DukaPress can be used to build online shops quickly and easily. It is built to be both simple and elegant yet powerful and scalable.

Add image_src Meta Tag ensures your content has a relevant thumbnail when shared on social sites, by adding an image_src meta tag to your header which contains your post thumbnail image.

Updated plugins

The AddToAny: Share/Bookmark/Email Button helps people share, bookmark, and email your posts and pages using any service, such as Facebook, Twitter, Google Buzz, Digg, Delicious, and well over 100 more social bookmarking and sharing sites.

The AddToAny: Subscribe Button helps people subscribe to your blog using any feed reader, such as Google Reader, My Yahoo!, Netvibes, Windows Live, and all other RSS readers.

Fast and Secure Contact Form for WordPress lets your visitors send you a quick E-mail message and blocks all common spammer tactics.

Viper’s Video Quicktags allows you to simply click one of the new buttons that this plugin adds to the write screen (rich editor included) and then paste the URL that the video is located at into the prompt box. You can fully configure how the videos are displayed and much more.

Share/Save/Bookmark