Plugin Directory

Changeset 481404


Ignore:
Timestamp:
12/28/2011 08:07:29 AM (14 years ago)
Author:
suhas93
Message:

bug fix

Location:
seo-blogger-to-wordpress-301-redirector
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • seo-blogger-to-wordpress-301-redirector/trunk/readme.txt

    r481201 r481404  
    55Requires at least: 2.6
    66Tested up to: 3.3
    7 Stable tag: 0.3.7
     7Stable tag: 0.3.8
    88
    99This plugin will 301 redirect all incoming traffic from your Blogger account to your newly setup Wordpress account. Move from Blogger to wordpress with great ease.
     
    6868== Upgrade Notice ==
    6969
    70 = 0.3.7 =
    71 Hopefully, the last bug fix.
     70= 0.3.8 =
     71Archive pages will now be redirected.
  • seo-blogger-to-wordpress-301-redirector/trunk/seo-blogger-to-wordpress.php

    r481201 r481404  
    44 Plugin URI: http://suhastech.com/seo-blogger-to-wordpress
    55 Description: This plugin will 301 redirect all incoming traffic from your Blogger account to your newly setup Wordpress account. Please read the documentation at suhastech.com/seo-blogger-to-wordpress before you continue.
    6  Version: 0.3.7
     6 Version: 0.3.8
    77 Author: Suhas Sharma
    88 Author URI: http://suhastech.com
     
    492492add_action('admin_menu', 'suhas_generator');
    493493add_action( 'template_redirect', 'suhas_blogger' );
     494
    494495if ( isset( $_GET['blogger'] ) )
     496{
    495497add_action( 'template_redirect', 'suhas_blogspot' );
     498}
     499
    496500if (preg_match("/blogspot.com/i",$_SERVER['HTTP_REFERER']))
     501{
    497502add_action( 'template_redirect', 'suhas_blogspot_archive' );
     503}
    498504?>
    499505
Note: See TracChangeset for help on using the changeset viewer.