Changeset 727633
- Timestamp:
- 06/17/2013 08:28:21 PM (12 years ago)
- Location:
- blogger-301-redirect
- Files:
-
- 5 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
blogger-301-redirect/trunk/bloggerredirect.php
r645868 r727633 6 6 Author URI: http://techxt.com 7 7 Author: Sudipto Pratap Mahato 8 Version: 2. 08 Version: 2.1 9 9 */ 10 10 … … 30 30 } 31 31 $permalink = explode("blogspot.com", $old_url); 32 if(strpos($permalink[1],"?")!==false && get_option('rev_p')=="checked") 33 { 34 $pl = explode("?", $permalink[1]); 35 $permalink[1]=$pl[0]; 36 } 32 37 $new_url=""; 33 38 if(get_option('pfeed_re')=="checked" && $new_url == "") … … 147 152 <td><input type="checkbox" name="archi_re" value="checked" <?php echo get_option('archi_re'); ?> />Redirect Blogger archives to Wordpress (Recommended)<br /> Check this if you want to redirect <b>http://example.blogspot.com/yyyy_mm_dd_archive.html</b> => <b>http://example.com/yyyy/mm/</b></td> 148 153 </tr> 154 <tr valign="top"> 155 <td><input type="checkbox" name="rev_p" value="checked" <?php echo get_option('rev_p'); ?> />Remove parameters from URL <br /> Check this if you want to redirect <b>http://example.blogspot.com/xyz.html?m=1</b> => <b>http://example.com/xyz.html</b></td> 156 </tr> 149 157 </table> 150 158 <input type="hidden" name="action" value="update" /> 151 <input type="hidden" name="page_options" value="adv_ser,home_re,pfeed_re,cfeed_re,archi_re " />159 <input type="hidden" name="page_options" value="adv_ser,home_re,pfeed_re,cfeed_re,archi_re,rev_p" /> 152 160 <p class="submit"> 153 161 <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /> -
blogger-301-redirect/trunk/readme.txt
r645868 r727633 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5 7 Stable tag: 2. 07 Stable tag: 2.1 8 8 9 9 Useful for mapping your Blogger post and feeds to Wordpress posts and feeds after blogger to wordpress migration.
Note: See TracChangeset
for help on using the changeset viewer.