WordPress.org

Ready to get started?Download WordPress

Forums

Share a Draft
patch: solving 301 redirect loop for ShareADraw 1.3 with WP 3.0.1 (1 post)

  1. HeikoB
    Member
    Posted 3 years ago #

    It turned out that the link of the format

    http://HeikoBehrens.net/?p=postId&shareadraft=shareADraftKey

    was the reason for an an infinite 301 redirect loop with WP 3.0.1 and ShareADraft 1.3

    HTTP request sent, awaiting response... 301 Moved Permanently

    This might be caused by some other SEO plugins. I changed the shareadraft.php on line 241 to reorder the URL parameters and everything works fine, now.

    Before:

    <td><?php echo get_bloginfo('url'); ?>/?p=<?php echo $p->ID?>&shareadraft=<?php echo $share['key']; ?></td>

    After:

    <td><?php echo get_bloginfo('url'); ?>/?shareadraft=<?php echo $share['key']; ?>&p=<?php echo $p->ID?></td>

    Hope this can help anybody in the future.

    http://wordpress.org/extend/plugins/shareadraft/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic